Re: adding file by absolute name -- problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 23 Apr 2007, Yakov Lerner wrote:

> CVS did not accept absolute pathnames, and SVN does. It is really convenient.

I do not feel very comfortable with the thought. If you have symbolic 
links somewhere along the path, it is easy to get wrong.

This line of thought got me confused: would

$ ln -s /tmp x
$ touch x/y
$ git add x/y

work?

*clicketyclick*

Yes, it does. It ignores the fact that x is not a directory, but a 
symbolic link. Lots of opportunities to shoot yourself in the foot.

Think about the consequences of doing something like this in one 
repository, where "x" points into another one...

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]