git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug: git branch -D can be used to delete branch which is currently checked out - Part 2
@ 2016-03-10  8:39 Marcus Kida
  2016-03-10 12:15 ` Johannes Schindelin
  0 siblings, 1 reply; 6+ messages in thread
From: Marcus Kida @ 2016-03-10  8:39 UTC (permalink / raw)
  To: git

Proposed solution:

Use `strcasecmp`, `stricmp`, `strcmpi` here: https://github.com/git/git/blob/f02fbc4f9433937ee0463d0342d6d7d97e1f6f1e/builtin/branch.c#L218

Not sure if/which one of this will work on POSIX as well as MS too though.

Thank you.

Cheers,
Marcus

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

end of thread, other threads:[~2016-03-10 22:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10  8:39 Bug: git branch -D can be used to delete branch which is currently checked out - Part 2 Marcus Kida
2016-03-10 12:15 ` Johannes Schindelin
2016-03-10 18:30   ` Marcus Kida
2016-03-10 22:41     ` Jeff King
2016-03-10 22:43       ` Marcus Kida
2016-03-10 21:20   ` Marcus Kida

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