author | Eric Wong <normalperson@yhbt.net> | |
Fri, 16 Feb 2007 09:45:13 +0000 (01:45 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 08:57:13 +0000 (00:57 -0800) | ||
commit | 1e889ef36c45b5554f7e317493ed3f4f901f8d9f | |
tree | d77c72dd5f3cefe586ba660b10c96ff49e028633 | tree | snapshot |
parent | 488a63ec233ce7edc5fd70172c196628b1d6a82b | commit | diff |
git-svn: checkout files on new fetches
On newly-created repositories, 'refs/heads/master' does not
point to anything. This can be confusing to new users; so we
update 'master' to point to the last imported ref after fetching
is done.
Once 'master' is valid; we assume HEAD points to it; and if
the repository is not bare, then checkout the files if the
working tree is clean and unused.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
On newly-created repositories, 'refs/heads/master' does not
point to anything. This can be confusing to new users; so we
update 'master' to point to the last imported ref after fetching
is done.
Once 'master' is valid; we assume HEAD points to it; and if
the repository is not bare, then checkout the files if the
working tree is clean and unused.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |