Fix up path-cleanup in git_path() properly
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 01:10:59 +0000 (18:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 01:10:59 +0000 (18:10 -0700)
GIT_DIR=.  ends up being what some of the pack senders use, and we
sometimes messed up when cleaning up the path, ie a ".//HEAD" was
cleaned up into "/HEAD", not "HEAD" like it should be.

We should do some other cleanup, and probably also verify that symlinks
don't point to outside the git area.


No differences found