aboutsummaryrefslogtreecommitdiff
path: root/builtin/update-ref.c
diff options
context:
space:
mode:
authorMax Kirillov <max@max630.net>2014-09-09 10:29:16 +0300
committerPaul Mackerras <paulus@samba.org>2014-10-30 09:43:15 +1100
commit4d5e1b1319d27d2381d31dc26bfd16360fe79ab8 (patch)
tree8d5e2462dae077b039a83602de7a25e37eebf500 /builtin/update-ref.c
parent7b68b0eebf2148808f005b65569a76a83e3482bd (diff)
downloadgit-4d5e1b1319d27d2381d31dc26bfd16360fe79ab8.tar.gz
git-4d5e1b1319d27d2381d31dc26bfd16360fe79ab8.tar.xz
gitk: Show detached HEAD if --all is specified
If HEAD is detached, 'gitk --all' does not show it. This is inconvenient for frontend program, and for example git log does show the detached HEAD. gitk uses git rev-parse to find a list of branches to show. Apparently, the command does not include detached HEAD to output if --all argument is specified. This has been discussed in [1] and stated as expected behavior. So rev-parse's parameters should be tuned in gitk. [1] http://thread.gmane.org/gmane.comp.version-control.git/255996 Signed-off-by: Max Kirillov <max@max630.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'builtin/update-ref.c')
0 files changed, 0 insertions, 0 deletions