]> git.ipfire.org Git - thirdparty/git.git/commit - setup.c
rev/path disambiguation: further restrict "misspelled index entry" diag
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 May 2011 19:05:01 +0000 (12:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 May 2011 19:38:06 +0000 (12:38 -0700)
commit0e539dca51c298ca2ee102e0ca118797f2da99eb
tree3844b41b9c9c8342c58e735c18ac1a47618f6347
parent2e83b66c32c1d482575fd8caed80680a2f69c5f1
rev/path disambiguation: further restrict "misspelled index entry" diag

A colon followed by anything !isalnum() (e.g. ":/heh") at this point is
known not to be an existing rev.  Just give a generic "neither a rev nor
a path" error message.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c