author | Kevin Ballard <kevin@sb.org> | |
Sat, 5 Apr 2008 18:28:53 +0000 (14:28 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Apr 2008 23:31:45 +0000 (16:31 -0700) | ||
commit | f53423b0e09d0de9584f72ac298bdfdc9e886d73 | |
tree | 7d3f9e54432d9912ee8669d48462c7ca68425b56 | tree | snapshot |
parent | 4ed4a347168d6714c6beca7d7702473229c9d8f1 | commit | diff |
git-fetch: Don't trigger a bus error when given the refspec "tag"
When git-fetch encounters the refspec "tag" it assumes that the next
argument will be a tag name. If there is no next argument, it should
die gracefully instead of erroring.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When git-fetch encounters the refspec "tag" it assumes that the next
argument will be a tag name. If there is no next argument, it should
die gracefully instead of erroring.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c | diff | blob | history |