diff options
author | Robin Rosenberg | 2013-04-19 11:35:54 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-04-19 11:35:54 +0000 |
commit | dcd93883a8c756f8d660479b38d90ab80e28ea85 (patch) | |
tree | 545db398a681e3f8f7c5e705482f6b662e46b362 /org.eclipse.egit.core | |
parent | f42b289efc97bf29292d5d1d3cda57f54ee53695 (diff) | |
parent | f0485fb3404cf38f8cc7eaebedfe8377d24edab3 (diff) | |
download | egit-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.java | 4 |
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(), |