robfig / glock

MIT License
230 stars 27 forks source link

Cosmetic inquiry: GLOCKFILE naming #17

Open pkieltyka opened 9 years ago

pkieltyka commented 9 years ago

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:

robfig commented 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.

pkieltyka commented 9 years ago

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

pkieltyka commented 9 years ago

btw, someone can use git mv GLOCKFILE Glockfile and it will make the case change properly