git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / 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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).