From 4c6c64f757035a5258dc762164d0bacf9605dfda Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 22 Jul 2019 23:33:52 +1200 Subject: Add a Git hooks issue with new repositories --- ISSUES.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ISSUES.md') diff --git a/ISSUES.md b/ISSUES.md index 103c3a98..597d7bd8 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -30,3 +30,9 @@ Known issues pushed upstream. * The `_text_filenames` completion handler for Bash won't work on files with newlines in their names. Can it be made to? +* First commit to a new repository fails with the Git template hooks because + the HEAD ref doesn't exist yet: + + fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. + Use '--' to separate paths from revisions, like this: + 'git [...] -- [...]' -- cgit v1.2.3