Open pkieltyka opened 9 years ago
Yeah, I guess I was thinking of files like README and INSTALL rather than Makefile or Godeps.
I don't mind changing it. Probably the ideal solution would be to (a) stop with an error if you notice more than one file named "glockfile" of any case, (b) read glockfile in any casing, and (c) write it with the casing "Glockfile". Or maybe that's overkill and just the simple change would be fine.
I'm not sure if git handles it properly, but I know that using HG, commits that change a file name casing (made on linux) could not be easily pulled on OSX due to file name conflicts / case insensitive file system.
That works. You could also just rename a file to whatever you have desired and print out a warning if that file change happened.
You're right about the version control thing. I don't think there is anything elegant for that..
btw, someone can use git mv GLOCKFILE Glockfile
and it will make the case change properly
Hello & happy NYE!
glock is a very slick project. I was wondering why the choice of
GLOCKFILE
for the filename? why not,Glockfile
?.. perhaps the filename can be case insensitive, with the following support:
glock save github.com/my/project
will generateGLOCKFILE
as a default (to your preference) - as is. However, if a "glockfile" exists of any case, then it will write the contents in the filename of that case.glock sync
will look for any "glockfile" type-case