git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Differences between git show HEAD and git show head
@ 2018-09-17 11:22 Nikola Milekic
  2018-09-17 13:23 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 3+ messages in thread
From: Nikola Milekic @ 2018-09-17 11:22 UTC (permalink / raw)
  To: git

Hi,

On Windows, when using multiple workspaces and git 2.19.0.windows.1,
'git show HEAD' and 'git show head' return different results when
executed from a secondary workspace (the one without the .git
directory).

'git show HEAD' shows the HEAD of the current workspace, while git
show head shows the HEAD of the main workspace (the one with the .git
directory). I find this to be highly misleading, especially for users
like myself who are not used to typing HEAD in all caps. Is this
indented behavior or a bug?

Thanks.

Best regards,
Nikola

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-17 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17 11:22 Differences between git show HEAD and git show head Nikola Milekic
2018-09-17 13:23 ` Ævar Arnfjörð Bjarmason
2018-09-17 13:33   ` Nikola Milekic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).