diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 11:34:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 11:34:30 -0700 |
commit | 042a4ed7c51f909fa53a8fa2f1024a1938812f27 (patch) | |
tree | 1a5c5383a49dd5405e725a877ac73f667b5a0261 /cat-file.c | |
parent | 641e1cac73acd67d0b1830dfd7196bca58dffbf2 (diff) | |
download | git-042a4ed7c51f909fa53a8fa2f1024a1938812f27.tar.gz |
git-rev-parse: add "--not" flag to mark subsequent heads negative
If you have two lists of heads, and you want to see ones reachable from
list $a but not from list $b, just do
git-rev-list $(git-rev-parse $a --not $b)
which is useful for both bisecting (where "b" would be the list of known
good revisions, and "a" would be the latest found bad head) and for just
seeing what the difference between two sets of heads are if you want to
generate a pack-file for the difference.
Diffstat (limited to 'cat-file.c')
0 files changed, 0 insertions, 0 deletions