Dan Loewenherz wrote: >> Dan Loewenherz wrote: >>> $ git commit -m "my commit message" >>> usage: git show-ref [-q|--quiet] [--verify] [--head] [...] > The GIT_TRACE helped--it was a hook script. The script's been in my > local repo for quite a while, strange that it only started having this > behavior recently. My bad. $ git show -s v1.6.6-rc0~34^2~17 [...] Does anybody use "show-ref -h"? It was in Linus's original, most likely only because "it might be handy", not because "the command should not show the HEAD by default for such and such reasons". So I think it is okay if "show-ref -h" (but not "show-ref --head") gives help and exits. If a current script uses "git show-ref -h" without any other arguments, it would have to be adapted by changing "-h" to "--head". Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx> Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> I was too dense to notice the connection until just now. > Removed the script and all works normally. If you still have the script, I would be happy to look it over, for curiosity’s sake. Cheers, Jonathan -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html