author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Wed, 1 Feb 2012 15:17:19 +0000 (22:17 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Feb 2012 21:04:11 +0000 (13:04 -0800) | ||
commit | 3a2ec52e99deabbf000cb576ccde73a12934bf60 | |
tree | 78c2e8ff543f3353d3c0a52412fe02c5c7674af5 | tree | snapshot |
parent | 6a301345a545ce5faf1a054d6c9bf1558dd46b0d | commit | diff |
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>
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 | diff | blob | history | |
t/t5300-pack-object.sh | diff | blob | history |