pack-objects: remove bogus comment
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 1 Feb 2012 15:17:19 +0000 (22:17 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2012 21:04:11 +0000 (13:04 -0800)
commit3a2ec52e99deabbf000cb576ccde73a12934bf60
tree78c2e8ff543f3353d3c0a52412fe02c5c7674af5
parent6a301345a545ce5faf1a054d6c9bf1558dd46b0d
pack-objects: remove bogus comment

The comment was introduced in b5d97e6 (pack-objects: run rev-list
equivalent internally. - 2006-09-04), stating that

git pack-objects [options] base-name <refs...>

is acceptable and refs should be passed into rev-list. But that's not
true. All arguments after base-name are ignored.

Remove the comment and reject this syntax (i.e. no more arguments after
base name)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
t/t5300-pack-object.sh