summaryrefslogtreecommitdiff
path: root/debian/changelog
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-06 08:09:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-06 08:26:21 (GMT)
commit9e5d2b40967059dd5f35d02fba323751ef22ac4e (patch)
tree9cc3928769f8f4e3597fa446321112c0568514df /debian/changelog
parent4607166d0735d13e0ee4ffe8df0c2fc899957852 (diff)
downloadgit-9e5d2b40967059dd5f35d02fba323751ef22ac4e.zip
git-9e5d2b40967059dd5f35d02fba323751ef22ac4e.tar.gz
git-9e5d2b40967059dd5f35d02fba323751ef22ac4e.tar.bz2
git-fetch: fail if specified refspec does not match remote.
'git-fetch remote no-such-ref' succeeded without fetching any ref from the remote. Detect such case and report an error. Note that this makes 'git-fetch remote master master' to fail, because the remote branch 'master' matches the first refspec, and the second refspec is left unmatched, which is detected by the error checking logic. This is somewhat unintuitive, but giving the same refspec more than once to git-fetch is useless in any case so it should not be much of a problem. I'd accept a patch to change this if somebody cares enough, though. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'debian/changelog')
0 files changed, 0 insertions, 0 deletions