summaryrefslogtreecommitdiff
path: root/rev-parse.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-19 11:32:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-20 05:35:55 (GMT)
commitc649657501bada28794a30102d9c13cc28ca0e5e (patch)
tree7ac5070f9b8ecfa42164ca7f7c576ea58b9ca62e /rev-parse.c
parent73be17f0b387b2741646498a9a80da677a9e0c7a (diff)
downloadgit-c649657501bada28794a30102d9c13cc28ca0e5e.zip
git-c649657501bada28794a30102d9c13cc28ca0e5e.tar.gz
git-c649657501bada28794a30102d9c13cc28ca0e5e.tar.bz2
rev-list --objects-edge
This new flag is similar to --objects, but causes rev-list to show list of "uninteresting" commits that appear on the edge commit prefixed with '-'. Downstream pack-objects will be changed to take these as hints to use the trees and blobs contained with them as base objects of resulting pack, producing an incomplete (not self-contained) pack. Such a pack cannot be used in .git/objects/pack (it is prevented by git-index-pack erroring out if it is fed to git-fetch-pack -k or git-clone-pack), but would be useful when transferring only small changes to huge blobs. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rev-parse.c')
-rw-r--r--rev-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rev-parse.c b/rev-parse.c
index a5fb93c..610eacb 100644
--- a/rev-parse.c
+++ b/rev-parse.c
@@ -43,6 +43,7 @@ static int is_rev_argument(const char *arg)
"--min-age=",
"--no-merges",
"--objects",
+ "--objects-edge",
"--parents",
"--pretty",
"--show-breaks",