diff options
author | Doug Bell <madcityzen@gmail.com> | 2013-07-16 19:05:14 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 17:52:28 -0700 |
commit | 3f3d0cea61aba6ac2fef16736ef55e04bb735e02 (patch) | |
tree | ef25eaf931caa88319393d35aed9b088de977e0d /tree.h | |
parent | 239222f587ed06f96d90dd71c66d80a2b1e3dc9f (diff) | |
download | git-3f3d0cea61aba6ac2fef16736ef55e04bb735e02.tar.gz |
show-ref: make --head always show the HEAD refdb/show-ref-head
The docs seem to say that doing
git show-ref --head --tags
would show both the HEAD ref and all the tag refs. However, doing
both --head and either of --tags or --heads would filter out the HEAD
ref.
Also update the documentation to describe the new behavior and add
tests for the show-ref command.
[jc: Doug did proofread the tests, but it was done by me and bugs in
it are mine].
Signed-off-by: Doug Bell <madcityzen@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.h')
0 files changed, 0 insertions, 0 deletions