git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git issue report : issue with capital letter in folder name
@ 2015-12-17 15:45 PFDuc
  2015-12-17 18:29 ` Stefan Beller
  0 siblings, 1 reply; 3+ messages in thread
From: PFDuc @ 2015-12-17 15:45 UTC (permalink / raw)
  To: git

Hello,

first of all thank you for developping git !

I had an issue with a capital block in the folder name inside my git 
repo. The folder in my local was named "Display" and the one at origin 
was named "display" resulting in error when importing python code from 
this folder for users who got the repo from origin.

I tried to change the folder name on bitbucket.org but I was unable to 
(or wasn't smart enough to find how to).

I fixed the issue by deleting the file from my local, then commit, then 
push, put the same folder in my local, then commit then push.

I am therefore only writing to tell you that story which is not so 
important, but I had the thought that because it is not so important 
maybe nobody reports that and the bug (if any) cannot be fixed.

Have a good day and happy end of year season!

Regards,

Pierre-François Duc
PhD candidate Physics McGill university

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

* Re: Git issue report : issue with capital letter in folder name
  2015-12-17 15:45 Git issue report : issue with capital letter in folder name PFDuc
@ 2015-12-17 18:29 ` Stefan Beller
  2015-12-17 23:35   ` PFDuc
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Beller @ 2015-12-17 18:29 UTC (permalink / raw)
  To: PFDuc; +Cc: git@vger.kernel.org

On Thu, Dec 17, 2015 at 7:45 AM, PFDuc
<pierre-francois.duc@mail.mcgill.ca> wrote:
> Hello,
>
> first of all thank you for developping git !
>
> I had an issue with a capital block in the folder name inside my git repo.
> The folder in my local was named "Display" and the one at origin was named
> "display" resulting in error when importing python code from this folder for
> users who got the repo from origin.

By any chance, were different operating systems or file systems
involved in creation of
this problem?

There are file systems which care about the capitalization, and others don't.
So if you have a file system which doesn't care about capitalization
of the folder/file name,
you can use a different capitalization and it still works. If you take
the code to
another system then, which is a bit more careful there are problems of course.

The main question which remains, is how is Git involved? i.e. would it
also happen
if you just transfer a tarball? Did Git itself break anything?

>
> I tried to change the folder name on bitbucket.org but I was unable to (or
> wasn't smart enough to find how to).
>
> I fixed the issue by deleting the file from my local, then commit, then
> push, put the same folder in my local, then commit then push.
>
> I am therefore only writing to tell you that story which is not so
> important, but I had the thought that because it is not so important maybe
> nobody reports that and the bug (if any) cannot be fixed.
>
> Have a good day and happy end of year season!
>
> Regards,
>
> Pierre-François Duc
> PhD candidate Physics McGill university
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Git issue report : issue with capital letter in folder name
  2015-12-17 18:29 ` Stefan Beller
@ 2015-12-17 23:35   ` PFDuc
  0 siblings, 0 replies; 3+ messages in thread
From: PFDuc @ 2015-12-17 23:35 UTC (permalink / raw)
  To: Stefan Beller; +Cc: git@vger.kernel.org

Le 2015-12-17 13:29, Stefan Beller a écrit :
> On Thu, Dec 17, 2015 at 7:45 AM, PFDuc
> <pierre-francois.duc@mail.mcgill.ca> wrote:
>> Hello,
>>
>> first of all thank you for developping git !
>>
>> I had an issue with a capital block in the folder name inside my git repo.
>> The folder in my local was named "Display" and the one at origin was named
>> "display" resulting in error when importing python code from this folder for
>> users who got the repo from origin.
> By any chance, were different operating systems or file systems
> involved in creation of
> this problem?
It might be the case, a mix between windows7, ubuntu and macOS
> There are file systems which care about the capitalization, and others don't.
> So if you have a file system which doesn't care about capitalization
> of the folder/file name,
> you can use a different capitalization and it still works. If you take
> the code to
> another system then, which is a bit more careful there are problems of course.
>
> The main question which remains, is how is Git involved? i.e. would it
> also happen
> if you just transfer a tarball? Did Git itself break anything?
I don't think git broke anything it is just that the folder name was not 
being changed to the one with a capital letter when I pushed on origin, 
the only way out I found was the one I described in my initial email. I 
thought then the problem might occur from git, but as you say it is 
probably a cross platform issue. The folder initially created was named 
display, then I changed it locally but git wouldn't recognize it as 
something to commit (platform windows7)

I just wanted to let you know in case it would have been an issue you 
wouldn't be aware of.

Regards,

Pierre-François
>> I tried to change the folder name on bitbucket.org but I was unable to (or
>> wasn't smart enough to find how to).
>>
>> I fixed the issue by deleting the file from my local, then commit, then
>> push, put the same folder in my local, then commit then push.
>>
>> I am therefore only writing to tell you that story which is not so
>> important, but I had the thought that because it is not so important maybe
>> nobody reports that and the bug (if any) cannot be fixed.
>>
>> Have a good day and happy end of year season!
>>
>> Regards,
>>
>> Pierre-François Duc
>> PhD candidate Physics McGill university
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-12-17 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17 15:45 Git issue report : issue with capital letter in folder name PFDuc
2015-12-17 18:29 ` Stefan Beller
2015-12-17 23:35   ` PFDuc

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