Re: [PATCH] Add bare repository indicator for __git_ps1

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

 



Ted Pavlic said the following on 24.02.2009 15:25:
I only added the "GIT_DIR!" on the advice of Junio, who suggested a
"danger" flag. I asked for suggestions on replacement text.

Keep in mind that "BARE:master" doesn't make much sense. If you're
in a git dir, you don't have a working directory. "BARE" alone
makes sense. Personally, I think it makes more sense to submit a
patch that changes "GIT_DIR!" to "BARE" in the bare case (and
doesn't print any branch).

It reflects what HEAD points to in the bare repository.

--
.marius [@trolltech.com]
'if you know what you're doing, it's not research'

Attachment: signature.asc
Description: OpenPGP digital signature


[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]

  Powered by Linux