]> source.dussan.org Git - jgit.git/commit
Always checkout master when it matches the advertised HEAD 87/4687/2
authorKevin Sawicki <kevin@github.com>
Mon, 28 Nov 2011 19:00:15 +0000 (11:00 -0800)
committerKevin Sawicki <kevin@github.com>
Mon, 28 Nov 2011 19:00:15 +0000 (11:00 -0800)
commit899114f63c24223b697afb42e1564fc21a3b622d
treeef23a684afa8c05f944543c33e42abc8fd894567
parentd497c2ac2da24de8865b0f113e07a559a4af951a
Always checkout master when it matches the advertised HEAD

This parallels the CGit behavior of always using refs/heads/master
when it matches the remote advertised HEAD commit.

Change-Id: I5a5cd1516b58d116e334056aba1ef7990697ec30
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java