From: 郭腾飞 <tfguo369@gmail.com>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: git@vger.kernel.org
Subject: Re: [issue?]'git branch -D' case sensitive issue
Date: Thu, 14 Jan 2016 21:28:30 +0800 [thread overview]
Message-ID: <CAB4fgE-UbTD6AkTaxyknJ+3ggtzRdYN43wgsamTXOYmGqDQ3_A@mail.gmail.com> (raw)
In-Reply-To: <56978BA9.2010005@web.de>
Hi Torsten Bögershausen, thank you for the quick reply.
I'm working on Mac OS as I have mentioned in the previous email.
➜ my-emacs-conf git:(NIce) ✗ sw_vers -productVersion
10.11 OSX
And besides, I use a case sensitive file system in OSX through the command
'hdiutil create -volname 'case_fs' -type SPARSE -fs 'Case-sensitive
Journaled HFS+' -size 100g ~/case_fs.sparseimage'
Is this a known issue?
Thank you!
BRs
terry3
2016-01-14 19:51 GMT+08:00 Torsten Bögershausen <tboegi@web.de>:
> On 01/14/2016 08:52 AM, 郭腾飞 wrote:
>>
>> Hi All,
>> I encountered some issues when using 'git branch -D'.
>> It's strange, the command 'git branch -D' is case sensitive.
>> Here is the operated log.
>>
>> ➜ my-emacs-conf git:(NIce) git branch -avv
>> * NIce fed5d9c Update js2-mode $ js-beautify.
>> master fed5d9c [origin/master] Update js2-mode $
>> js-beautify.
>> remotes/origin/HEAD -> origin/master
>> remotes/origin/fake 8ec9cad fake.
>> remotes/origin/mac13 13ae483 mac pro 13's config.
>> remotes/origin/master fed5d9c Update js2-mode $ js-beautify.
>> ➜ my-emacs-conf git:(NIce)
>> ➜ my-emacs-conf git:(NIce) git branch -D NIce
>> error: Cannot delete the branch 'NIce' which you are currently on.
>> ➜ my-emacs-conf git:(NIce)
>> ➜ my-emacs-conf git:(NIce) git branch -D NICe
>> Deleted branch NICe (was fed5d9c).
>> ➜ my-emacs-conf git:(NIce) ✗ git branch -avv
>> master fed5d9c [origin/master] Update js2-mode $
>> js-beautify.
>> remotes/origin/HEAD -> origin/master
>> remotes/origin/fake 8ec9cad fake.
>> remotes/origin/mac13 13ae483 mac pro 13's config.
>> remotes/origin/master fed5d9c Update js2-mode $ js-beautify.
>>
>> Hope someone can give me a hint.
>>
>> ➜ my-emacs-conf git:(NIce) ✗ git --version
>> git version 2.6.3
>> ➜ my-emacs-conf git:(NIce) ✗ sw_vers -productVersion
>> 10.11 OSX
>>
>> BRs,
>> terry3
>> --
>
> If you can give us a hint, under which OS you are working ?
>
> I assume that you are on Windows or Mac OS ?
> In this case the file system is part of the problem,
> which treats NIce and NICe the same.
>
--
________________________________
Guo Tengfei
next prev parent reply other threads:[~2016-01-14 13:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 7:52 [issue?]'git branch -D' case sensitive issue 郭腾飞
2016-01-14 11:51 ` Torsten Bögershausen
2016-01-14 13:28 ` 郭腾飞 [this message]
2016-01-14 16:42 ` Torsten Bögershausen
2016-01-14 17:21 ` Junio C Hamano
2016-01-15 22:28 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAB4fgE-UbTD6AkTaxyknJ+3ggtzRdYN43wgsamTXOYmGqDQ3_A@mail.gmail.com \
--to=tfguo369@gmail.com \
--cc=git@vger.kernel.org \
--cc=tboegi@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).