diff options
author | Fredrik Kuivinen <frekui@gmail.com> | 2007-02-22 23:28:12 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-23 08:02:39 +0300 |
commit | 755b99d81539461645088085ea033a3b36152da5 (patch) | |
tree | dd8f3df5ee88197ea19898daddfa73f7d0fd1297 /builtin-diff.c | |
parent | 4917d2a66e8fa8c40ea6082c0fd8b58492c9444e (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>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions