summaryrefslogtreecommitdiff
path: root/git-clone.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-02-17 02:13:32 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-17 09:01:24 (GMT)
commitdefc649229eef2461ad1c2fea53985b8c10fd3db (patch)
tree1a2ac72dccf4b6e257596b482b2ed5a7b0cea584 /git-clone.sh
parent1c6bbbf37be5c2b0fce45a57ecfeea2d9b7a3269 (diff)
downloadgit-defc649229eef2461ad1c2fea53985b8c10fd3db.zip
git-defc649229eef2461ad1c2fea53985b8c10fd3db.tar.gz
git-defc649229eef2461ad1c2fea53985b8c10fd3db.tar.bz2
git-svn: ensure fetch always works chronologically.
We run svn log against a URL without a working copy for the first fetch, so we end up a log that's sorted from highest to lowest. That's bad, we always want lowest to highest. Just default to --revision 0:HEAD now if -r isn't specified for the first fetch. Also sort the revisions after we get them just in case somebody accidentally reverses the argument to --revision for whatever reason. Thanks again to Emmanuel Guerin for helping me find this. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-clone.sh')
0 files changed, 0 insertions, 0 deletions