Code

Fix git-update-index to work with relative pathnames.
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 31 Jan 2007 13:34:17 +0000 (14:34 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 31 Jan 2007 21:14:32 +0000 (13:14 -0800)
commit9ebe6cf953123ce904fe6930991694e3a3c79c17
tree2ff3ae0d125621241b36e2dcf2aa319961568697
parent4a91a1f37e8813bf3b7de00de5b3a7ab1df89451
Fix git-update-index to work with relative pathnames.

In particular, it fixes the following (typical for cygwin) problem:

    $ git-update-index --chmod=-x ../wrapper/Jamfile
    fatal: git-update-index: cannot chmod -x '../wrapper/Jamfile'

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-update-index.c