diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-05-06 01:39:25 +0200 |
---|---|---|
committer | Chris Aniszczyk <caniszczyk@gmail.com> | 2013-07-21 21:54:41 -0500 |
commit | 60e01cff2f763a85ed24a706d26eb9f159ffa832 (patch) | |
tree | 3cbc67ec80dc59eddb2d17b9dba2816e42420963 /org.eclipse.jgit.junit/src/org | |
parent | 7033179440fe81f973bd1fdf076b020b276ea782 (diff) | |
download | jgit-60e01cff2f763a85ed24a706d26eb9f159ffa832.tar.gz jgit-60e01cff2f763a85ed24a706d26eb9f159ffa832.zip |
Update reflog like C Git during rebase (non-interactive)
Bug: 346350
Change-Id: I119766a00bc52a810c51cffaa19207cb8555ca22
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.junit/src/org')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java index 397fb6151d..1f1962a7b1 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java +++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java @@ -415,6 +415,7 @@ public abstract class RepositoryTestCase extends LocalDiskRepositoryTestCase { walk.release(); // update the HEAD RefUpdate refUpdate = db.updateRef(Constants.HEAD); + refUpdate.setRefLogMessage("checkout: moving to " + branchName, false); refUpdate.link(branchName); } |