From: Amandeep Gautam Date: Mon, 04 Dec 2017 09:16:52 GMT Subject: Bug in git-completion.bash in __git_heads() function Message-ID: Hello, This is the first time I am sending a bug report here, so if I have not met the criteria please let me know. I found that at: https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L371, the usage of refname:strip=2 generates error: fatal: unknown refname: format strip=2. I am using git version 1.9.1. However using %(refname:short), I believe produces intended behaviour. If my findings are validated, I would be willing to submit a patch for this. Please let me know. Regards, Aman