Re: Bizarre behavior on git commit
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 5, 2010, 06:01 UTC
- Message-ID
- <20100505060110.GA21260@progeny.tock>
- In-Reply-To
- <s2t6f5a4e781005042246sb9ef3d48j134b22b5b41133ed@mail.gmail.com>
Dan Loewenherz wrote:
Show 6 quoted lines
> I'm running into a weird issue in a specific repo where "git show-ref" > usage is being displayed after invocating "git commit". > > E.g. > $ git commit -m "my commit message" > usage: git show-ref [-q|--quiet] [--verify] [--head]
[...]
Show 5 quoted lines
> show refs from stdin that aren't in local repository > > [master 28a735f] my commit message > 1 files changed, 2 insertions(+), 0 deletions(-) > $
Strange. Maybe a hook script?
GIT_TRACE=1 git commit -m "my commit message"
should reveal the culprit, I hope.
Hope that helps, Jonathan