git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ambiguity warning printed twice ?
@ 2017-06-22 12:46 Kaartic Sivaraam
  2017-06-22 14:23 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Kaartic Sivaraam @ 2017-06-22 12:46 UTC (permalink / raw)
  To: git

Happy day everyone,

I accidentally noticed a weird behaviour of 'git status'. In a
repository I created a branch with the name 'HEAD' by chance. When I
run 'git status' in the repository it prints a warning about an
ambiguous reference about 'HEAD' which is expected but it prints it
twice which seems suspicious.

    $ git branch
      HEAD
      master
    * test

    $ git status
    warning: refname 'HEAD' is ambiguous.
    warning: refname 'HEAD' is ambiguous.
    On branch test
    ....

Any reasons behind this behaviour or is this a bug?


-- 
Regards,
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>

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

end of thread, other threads:[~2017-06-23  2:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22 12:46 Ambiguity warning printed twice ? Kaartic Sivaraam
2017-06-22 14:23 ` Jeff King
2017-06-23  2:11   ` Kaartic Sivaraam

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).