Re: On pathnames

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Langhoff
Date: Thursday, January 24, 2008 - 8:55 pm

On Jan 25, 2008 11:31 AM, Nicolas Pitre <nico@cam.org> wrote:

Because if you happen to be on a case-challenged filesystem, and you
need to add a new file - say xt_CONNBARK.c, you can, even if your FS
only has xt_connbark.c to offer to git. Granted, it's harder, but it
can be done, and it means that powerusers and wrappers around git have
a hope of dealing with it.

I think this is an excellent plan.

There is one thing that I don't see in Junio's plan -- which is
excellent -- and is

 - a warning during checkout if the index contains "equivalent" paths
that will clobber eachother during checkout.
 - an optional warning/error during add, to be raised if I am adding a
path that is equivalent to an already-existing path in the index

The second one is to support project that are known to be developed on
these non-filename-preserving platforms. So if I am on a linux host,
and I add Readme where README already exists, a warning can save me
and the project a bit of grief - and possibly catch an unintended
mistake! Because while I agree that users should be able to store any
file in git, in practice most instances of Ma"rchen/Märchen case will
be due to user error (or editor/gui error).

cheers,


m
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
On pathnames, Junio C Hamano, (Thu Jan 24, 2:02 pm)
Re: On pathnames, Nicolas Pitre, (Thu Jan 24, 3:31 pm)
Re: On pathnames, Sean, (Thu Jan 24, 4:56 pm)
Re: On pathnames, Johannes Schindelin, (Thu Jan 24, 5:36 pm)
Re: On pathnames, Martin Langhoff, (Thu Jan 24, 8:55 pm)
Re: On pathnames, Daniel Barkalow, (Thu Jan 24, 9:00 pm)
Re: On pathnames, Junio C Hamano, (Thu Jan 24, 9:12 pm)
Re: On pathnames, Junio C Hamano, (Thu Jan 24, 9:18 pm)
Re: On pathnames, Junio C Hamano, (Thu Jan 24, 9:21 pm)
Re: On pathnames, Jeff King, (Thu Jan 24, 10:59 pm)
Re: On pathnames, Pedro Melo, (Fri Jan 25, 1:08 am)
Re: On pathnames, Johannes Schindelin, (Fri Jan 25, 4:36 am)
Re: On pathnames, Johannes Schindelin, (Fri Jan 25, 5:25 am)
Re: On pathnames, David Kastrup, (Fri Jan 25, 5:50 am)
Re: On pathnames, Wincent Colaiuta, (Fri Jan 25, 5:53 am)
Re: On pathnames, Daniel Barkalow, (Fri Jan 25, 9:25 am)
Re: On pathnames, Johannes Schindelin, (Fri Jan 25, 10:34 am)