From: Chris Packham <judge.packham@gmail.com>
To: Dan Loewenherz <dloewenherz@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Bizarre behavior on git commit
Date: Wed, 5 May 2010 09:52:31 -0700 [thread overview]
Message-ID: <t2ga038bef51005050952u3370cf68pa45496e56a4adb7b@mail.gmail.com> (raw)
In-Reply-To: <s2t6f5a4e781005042246sb9ef3d48j134b22b5b41133ed@mail.gmail.com>
Hi,
On Tue, May 4, 2010 at 10:46 PM, Dan Loewenherz <dloewenherz@gmail.com> wrote:
> 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]
> ...
This may or may not be the case for you but I did have a bit of a
face-palm issue a while back because I was tinkering with a __git_ps1
bash script and forgot. I was actually getting output from one git
command or another and couldn't figure out why until I eventually
figured out that the commands that were complaining were used in my
__git_ps1 script. This was mainly when I was doing slightly unexpected
things (at least as far as __git_ps1 was concerned, e.g during an
interactive rebase ).
Its probably not your problem but just double check with 'echo "$PS1"'
from your shell.
prev parent reply other threads:[~2010-05-05 16:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-05 5:46 Bizarre behavior on git commit Dan Loewenherz
2010-05-05 6:01 ` Jonathan Nieder
2010-05-05 10:06 ` Matthieu Moy
2010-05-06 3:32 ` Dan Loewenherz
2010-05-06 4:57 ` Jonathan Nieder
2010-05-05 16:52 ` Chris Packham [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=t2ga038bef51005050952u3370cf68pa45496e56a4adb7b@mail.gmail.com \
--to=judge.packham@gmail.com \
--cc=dloewenherz@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).