diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-15 15:43:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-15 15:43:38 -0700 |
commit | 7f11b485215be205f498fe646a7adc8c8b5386a5 (patch) | |
tree | 10e56b84d6f7ed20eb743a0b2a444e56ffcb1323 /ref-filter.c | |
parent | d5ef5f522a2003b1bb54936fb45ad1d544980cde (diff) | |
parent | aa3bc55e408d4daab52239d6b80f7d4bb87f6de7 (diff) | |
download | git-7f11b485215be205f498fe646a7adc8c8b5386a5.tar.gz git-7f11b485215be205f498fe646a7adc8c8b5386a5.tar.xz |
Merge branch 'kn/for-each-branch'
Update "git branch" that list existing branches, using the
ref-filter API that is shared with "git tag" and "git
for-each-ref".
* kn/for-each-branch:
branch: add '--points-at' option
branch.c: use 'ref-filter' APIs
branch.c: use 'ref-filter' data structures
branch: drop non-commit error reporting
branch: move 'current' check down to the presentation layer
branch: roll show_detached HEAD into regular ref_list
branch: bump get_head_description() to the top
branch: refactor width computation
Diffstat (limited to 'ref-filter.c')
-rw-r--r-- | ref-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c index fd839ac4b..dbd8fcec2 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -1331,7 +1331,7 @@ static int ref_filter_handler(const char *refname, const struct object_id *oid, * obtain the commit using the 'oid' available and discard all * non-commits early. The actual filtering is done later. */ - if (filter->merge_commit || filter->with_commit) { + if (filter->merge_commit || filter->with_commit || filter->verbose) { commit = lookup_commit_reference_gently(oid->hash, 1); if (!commit) return 0; |