summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 18:34:30 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 18:34:30 (GMT)
commit042a4ed7c51f909fa53a8fa2f1024a1938812f27 (patch)
tree1a5c5383a49dd5405e725a877ac73f667b5a0261 /tag.c
parent641e1cac73acd67d0b1830dfd7196bca58dffbf2 (diff)
downloadgit-042a4ed7c51f909fa53a8fa2f1024a1938812f27.zip
git-042a4ed7c51f909fa53a8fa2f1024a1938812f27.tar.gz
git-042a4ed7c51f909fa53a8fa2f1024a1938812f27.tar.bz2
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 'tag.c')
0 files changed, 0 insertions, 0 deletions