Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff --cached: give more sensible error message when HEAD is yet to b…
…e created. It is not like the user said 'diff --cached HEAD', so complaining about HEAD not being a valid commit, while technically might be correct, is not very helpful. Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information