sha1_name: Suggest commit:./file for path in subdir
commite41d718c7df31c891b242bcf3a1cfea812308e40
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 31 Mar 2011 09:17:34 +0000 (31 11:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Apr 2011 19:24:27 +0000 (3 12:24 -0700)
treea2bff4805758efec4a43148257fff1c5c91d23f0
parent34df9abb41289e475befd05754e518f44f921ef0
sha1_name: Suggest commit:./file for path in subdir

Currently, the "Did you mean..." message suggests "commit:fullpath"
only. Extend this to show the more convenient "commit:./file" form also.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c
t/t1506-rev-parse-diagnosis.sh