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 20.02.2009 18:06:
+		if test "$(git config --bool core.bare)" == "true"; then

As discussed in another thread, to be consistent with local coding
 convention, "test" should be replaced with "[ ... ]".

Additionally, double equality (==) should be replaced with single equality (=).

Ok, I think I was based off of master at the time. I'll take a closer look. Thanks!

--
.marius
--
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]

  Powered by Linux