Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg2013-04-19 11:35:54 +0000
committerGerrit Code Review @ Eclipse.org2013-04-19 11:35:54 +0000
commitdcd93883a8c756f8d660479b38d90ab80e28ea85 (patch)
tree545db398a681e3f8f7c5e705482f6b662e46b362 /org.eclipse.egit.core
parentf42b289efc97bf29292d5d1d3cda57f54ee53695 (diff)
parentf0485fb3404cf38f8cc7eaebedfe8377d24edab3 (diff)
downloadegit-dcd93883a8c756f8d660479b38d90ab80e28ea85.tar.gz
egit-dcd93883a8c756f8d660479b38d90ab80e28ea85.tar.xz
egit-dcd93883a8c756f8d660479b38d90ab80e28ea85.zip
Merge "Update only working tree message when creating a stash"
Diffstat (limited to 'org.eclipse.egit.core')
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/StashCreateOperation.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/StashCreateOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/StashCreateOperation.java
index d278d1b937..537c5f19c5 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/StashCreateOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/StashCreateOperation.java
@@ -70,10 +70,8 @@ public class StashCreateOperation implements IEGitOperation {
public void run(IProgressMonitor pm) throws CoreException {
try {
StashCreateCommand command = Git.wrap(repository).stashCreate();
- if (message != null) {
- command.setIndexMessage(message);
+ if (message != null)
command.setWorkingDirectoryMessage(message);
- }
commit = command.call();
} catch (JGitInternalException e) {
throw new TeamException(e.getLocalizedMessage(),

Back to the top