author | Junio C Hamano <junkio@cox.net> | |
Tue, 5 Sep 2006 06:47:39 +0000 (23:47 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 7 Sep 2006 09:46:01 +0000 (02:46 -0700) | ||
commit | b5d97e6b0a044b11b409250189c61d40209065f2 | |
tree | 8ff5894e46b08b6425106c5c8acca4b226ebb985 | tree | snapshot |
parent | c64ed70d2557101f2a2c3f76315049d027fe645b | commit | diff |
pack-objects: run rev-list equivalent internally.
Instead of piping the rev-list output from its standard input,
you can say:
pack-objects --all --unpacked --revs pack
and feed the rev parameters you would otherwise give the
rev-list on its command line from the standard input.
In other words:
echo 'master..next' | pack-objects --revs pack
and
rev-list --objects master..next | pack-objects pack
are equivalent.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Instead of piping the rev-list output from its standard input,
you can say:
pack-objects --all --unpacked --revs pack
and feed the rev parameters you would otherwise give the
rev-list on its command line from the standard input.
In other words:
echo 'master..next' | pack-objects --revs pack
and
rev-list --objects master..next | pack-objects pack
are equivalent.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c | diff | blob | history |