author | Fredrik Kuivinen <frekui@gmail.com> | |
Thu, 22 Feb 2007 20:28:12 +0000 (21:28 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Feb 2007 05:02:39 +0000 (21:02 -0800) | ||
commit | 755b99d81539461645088085ea033a3b36152da5 | |
tree | dd8f3df5ee88197ea19898daddfa73f7d0fd1297 | tree | snapshot |
parent | 4917d2a66e8fa8c40ea6082c0fd8b58492c9444e | commit | diff |
Fix 'git commit -a' in a newly initialized repository
With current git:
$ git init
$ git commit -a
cp: cannot stat `.git/index': No such file or directory
Output a nice error message instead.
Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
With current git:
$ git init
$ git commit -a
cp: cannot stat `.git/index': No such file or directory
Output a nice error message instead.
Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh | diff | blob | history |