author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 12 Apr 2005 00:40:58 +0000 (17:40 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 12 Apr 2005 00:40:58 +0000 (17:40 -0700) | ||
commit | 771364af0ebc34ba968590eeebf0b78ee148f0a5 | |
tree | 5b140cab879595232bb13fe3007cdb14ed267db6 | tree | snapshot |
parent | 28258afe912303f717fcdccaca124c1ae3e8e004 | commit | diff |
Make the rev-tree output more regular. This is the last
change. Promise.
It now always outputs all the revisions as <sha1>:<reachability>, where the
reachability is the bitmask of how that revision was reachable from the
commits in the argument list.
Trivially, if there is only one commit, the reachability will always be
(1 << 0) == 1 for all reachable revisions, and there won't be any edges
(so the "--edges" flag only makes sense with multiple commit keys).
change. Promise.
It now always outputs all the revisions as <sha1>:<reachability>, where the
reachability is the bitmask of how that revision was reachable from the
commits in the argument list.
Trivially, if there is only one commit, the reachability will always be
(1 << 0) == 1 for all reachable revisions, and there won't be any edges
(so the "--edges" flag only makes sense with multiple commit keys).
rev-tree.c | diff | blob | history |