git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] git-filter-branch and filename case changes on insensitive file systems
@ 2007-10-10  9:40 Jonathan del Strother
  2007-10-10 13:39 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan del Strother @ 2007-10-10  9:40 UTC (permalink / raw)
  To: Git Mailing List

My repo has a change where a directory named Src was renamed to src.   
When I run "git filter-branch HEAD", my repo history is  rewritten so  
it appears that the Src directory was simply deleted.  I'm using case  
insensitive HFS+.
Fortunately, I can work around this by using -d to work off a case  
sensitive HFS+ volume - "git filter-branch -d /Volumes/CaseSensitive/ 
test HEAD" correctly changes nothing.

Anyone know why this happens?

Jon

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

* Re: [BUG] git-filter-branch and filename case changes on insensitive file systems
  2007-10-10  9:40 [BUG] git-filter-branch and filename case changes on insensitive file systems Jonathan del Strother
@ 2007-10-10 13:39 ` Johannes Schindelin
  2007-10-10 13:49   ` Jonathan del Strother
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2007-10-10 13:39 UTC (permalink / raw)
  To: Jonathan del Strother; +Cc: Git Mailing List

Hi,

On Wed, 10 Oct 2007, Jonathan del Strother wrote:

> My repo has a change where a directory named Src was renamed to src.

That is no problem for git-filter-branch.

> I'm using case insensitive HFS+.

That is the problem.

Of course, we could work around that in git, but frankly, you will turn 
into problems once you have files whose names differ only in case.  And I 
am certain somebody will come soon and report this as a bug in git!

I vote for wont-fix (or more accurately "invalid") in git and 
please-fix-in-your-setup.

Ciao,
Dscho

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

* Re: [BUG] git-filter-branch and filename case changes on insensitive file systems
  2007-10-10 13:39 ` Johannes Schindelin
@ 2007-10-10 13:49   ` Jonathan del Strother
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan del Strother @ 2007-10-10 13:49 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Git Mailing List


On 10 Oct 2007, at 14:39, Johannes Schindelin wrote:

> On Wed, 10 Oct 2007, Jonathan del Strother wrote:
>
>> My repo has a change where a directory named Src was renamed to src.
>
> That is no problem for git-filter-branch.
>
>> I'm using case insensitive HFS+.
>
> That is the problem.

...

> I vote for wont-fix (or more accurately "invalid") in git and
> please-fix-in-your-setup.

Would love to switch to case sensitive HFS+, but it causes a number of  
problems for OS X users - a number of 3rd party applications don't  
bother supporting case sensitive formatting (notably Adobe :/ ).


I appreciate that it's difficult and/or impossible to make certain  
operations work on case insensitive FS's, but it seems like git ought  
to at least complain noisily when it encounters such a situation...

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

end of thread, other threads:[~2007-10-10 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10  9:40 [BUG] git-filter-branch and filename case changes on insensitive file systems Jonathan del Strother
2007-10-10 13:39 ` Johannes Schindelin
2007-10-10 13:49   ` Jonathan del Strother

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