Re: [PATCH] gitk: do not show local changes for bare repositories
- From
Paul Mackerras <paulus@samba.org>
- Date
- Mar 8, 2008, 11:14 UTC
- Message-ID
- <18386.29988.380116.517508@cargo.ozlabs.ibm.com>
- In-Reply-To
- <8875845cb2c0c3a1ac515b8f71e6be77f3266479.1204879048.git.davvid@gmail.com>
David Aguilar writes:
Show 5 quoted lines
> @@ -407,6 +408,7 @@ proc updatecommits {} {
> foreach vid [array names idpending "$n,*"] {
> unset idpending($vid)
> }
> + set isbare [expr {[exec git rev-parse --is-bare-repository] == "true"}]Sorry, I meant do that in updatecommits as well as at startup. You still need that line in the startup code.
Paul.