]> git.ipfire.org Git - thirdparty/git.git/commit
git-clone: Make sure the master branch exists before running cat on it.
authorAlexandre Julliard <julliard@winehq.org>
Tue, 9 Jan 2007 20:26:52 +0000 (21:26 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 10 Jan 2007 00:14:41 +0000 (16:14 -0800)
commit3fe71f3a6f4454e845d4c7aec3e4bddd9a872b15
tree99c02617bfd8f23fd04cadb7cf4a3692c0b9a06a
parentd234b21c6966ee1d2dc4b5dcd9dca73a102bc442
git-clone: Make sure the master branch exists before running cat on it.

Otherwise we get an error like this on stderr:

  cat: [...]/.git/refs/remotes/origin/master: No such file or directory

which makes it look like git-clone failed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh