rev-parse --abbrev: do not try abbrev shorter than minimum.
commit1dc4fb84b5914621cf59b6b508ad7c9c86c61fa4
authorJunio C Hamano <junkio@cox.net>
Thu, 26 Jan 2006 08:48:19 +0000 (26 00:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 28 Jan 2006 08:09:39 +0000 (28 00:09 -0800)
treec46dc65e40d7e11afa69ea0eace49674758ad5f2
parentb2d4c56f2f370481c80e478ac323ebb13eece807
rev-parse --abbrev: do not try abbrev shorter than minimum.

We do not allow abbreviation shorter than 4 letters in other
parts of the system so do not attempt to generate such.

Noticed by Uwe Zeisberger.

Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-parse.c