author | Junio C Hamano <junkio@cox.net> | |
Tue, 18 Oct 2005 07:27:50 +0000 (00:27 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 18 Oct 2005 07:27:50 +0000 (00:27 -0700) | ||
commit | 4bfe1199eabb41eb1f1d67f4ee24df028eb21300 | |
tree | f7e1a8387657c4da9991861ae44347813b67bc46 | tree | snapshot |
parent | 694a764fc2af9463c2462ab1fc92b442fce1a54c | commit | diff |
Teach git-add and git-commit to handle filenames starting with '-'.
Recent '--' fixes to "git diff" by Linus made it possible to specify
filenames that start with '-'. But in order to do that, you need to
be able to add and commit such file to begin with.
Teach git-add and git-commit to honor the same '--' convention.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Recent '--' fixes to "git diff" by Linus made it possible to specify
filenames that start with '-'. But in order to do that, you need to
be able to add and commit such file to begin with.
Teach git-add and git-commit to honor the same '--' convention.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-add.sh | diff | blob | history | |
git-commit.sh | diff | blob | history |