Re: [PATCH] gitk: show detached HEAD if --all is specified
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 9, 2014, 17:04 UTC
- Message-ID
- <xmqqlhpslo8p.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <xmqqppf4loaq.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Max Kirillov <max@max630.net> writes: > >> 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. > > "git log" does use the same revision machinery as rev-parse uses > internally to parse its command line arguments. What does it do > differently?
Ah, nevermind. I misremembered that rev-parse does not use the revision machinery.