diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-28 14:08:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-28 14:08:50 -0800 |
commit | 556de1a8e38ff03d31fd35751582447001f39d0c (patch) | |
tree | 312f912aa8071e9011bb5ac96657192257dafb88 /revision.h | |
parent | 0433d533f13671f4313c31e34707f0f5281a18e0 (diff) | |
parent | 644eb60bd01a15f665b63774fd80e3b6316073a1 (diff) | |
download | git-556de1a8e38ff03d31fd35751582447001f39d0c.tar.gz |
Merge branch 'sb/describe-blob'
"git describe" was taught to dig trees deeper to find a
<commit-ish>:<path> that refers to a given blob object.
* sb/describe-blob:
builtin/describe.c: describe a blob
builtin/describe.c: factor out describe_commit
builtin/describe.c: print debug statements earlier
builtin/describe.c: rename `oid` to avoid variable shadowing
revision.h: introduce blob/tree walking in order of the commits
list-objects.c: factor out traverse_trees_and_blobs
t6120: fix typo in test name
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h index 747bce8d8a..19dc9bdddb 100644 --- a/revision.h +++ b/revision.h @@ -121,7 +121,8 @@ struct rev_info { bisect:1, ancestry_path:1, first_parent_only:1, - line_level_traverse:1; + line_level_traverse:1, + tree_blobs_in_commit_order:1; /* Diff flags */ unsigned int diff:1, |