summaryrefslogtreecommitdiff
path: root/check-racy.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-16 01:45:13 -0800
committerEric Wong <normalperson@yhbt.net>2007-02-23 00:57:13 -0800
commit1e889ef36c45b5554f7e317493ed3f4f901f8d9f (patch)
treed77c72dd5f3cefe586ba660b10c96ff49e028633 /check-racy.c
parent488a63ec233ce7edc5fd70172c196628b1d6a82b (diff)
downloadgit-1e889ef36c45b5554f7e317493ed3f4f901f8d9f.tar.gz
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>
Diffstat (limited to 'check-racy.c')
0 files changed, 0 insertions, 0 deletions