author | Eric Wong <normalperson@yhbt.net> | |
Fri, 3 Mar 2006 09:20:09 +0000 (01:20 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Mar 2006 19:27:25 +0000 (11:27 -0800) | ||
commit | 7f60b228601becaa0bca2017521e1f27d5af70b1 | |
tree | 6c0f226bbabe93cdef546736b821c3d1e1d875b3 | tree | snapshot |
parent | eeb0abe0477dd638f52ef82795338edcb49efa2f | commit | diff |
contrib/git-svn: create a more recent master if one does not exist
In a new repository, the initial fetch creates a master branch
if one does not exist so HEAD has something to point to.
It now creates a master at the end of the initial fetch run,
pointing to the latest revision. Previously it pointed to the
first revision imported, which is generally less useful.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In a new repository, the initial fetch creates a master branch
if one does not exist so HEAD has something to point to.
It now creates a master at the end of the initial fetch run,
pointing to the latest revision. Previously it pointed to the
first revision imported, which is generally less useful.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/git-svn/git-svn.perl | diff | blob | history |