diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-04-18 23:19:15 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-04-18 23:19:15 +0200 |
commit | 7a42b7fb95ecd2c132b2588e5ede0f1251772b30 (patch) | |
tree | b9bacd100457cc6e97fbbce59ba86b383f1ed2e6 /org.eclipse.jgit.test | |
parent | eaa52b12f542e1d52c277989533a3c1bea3cc02e (diff) | |
download | jgit-7a42b7fb95ecd2c132b2588e5ede0f1251772b30.tar.gz jgit-7a42b7fb95ecd2c132b2588e5ede0f1251772b30.zip |
Untracked files should not be included in stash
The previous code stashed untracked files and left them
in the work tree.
Bug: 403282
Change-Id: I71727addb2b55fb8e409cae2b6af8138b1ff7ef1
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashCreateCommandTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashCreateCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashCreateCommandTest.java index 544d591fe9..322d47a091 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashCreateCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashCreateCommandTest.java @@ -88,6 +88,7 @@ public class StashCreateCommandTest extends RepositoryTestCase { git.add().addFilepattern("file.txt").call(); head = git.commit().setMessage("add file").call(); assertNotNull(head); + writeTrashFile("untracked.txt", "content"); } /** |