Re: Bizarre behavior on git commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, May 4, 2010 at 10:46 PM, Dan Loewenherz <dloewenherz@xxxxxxxxx> 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.
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]