Re: [PATCH] Add bare repository indicator for __git_ps1
- From
Ted Pavlic <ted@tedpavlic.com>
- Date
- Feb 20, 2009, 17:06 UTC
- Message-ID
- <499EE324.4050305@tedpavlic.com>
- In-Reply-To
- <499EC48B.9070004@trolltech.com>
> + 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 (=).
--Ted
--
Ted Pavlic <ted@tedpavlic.com>
Please visit my ALS association page:
http://web.alsa.org/goto/tedpavlic
My family appreciates your support in the fight to defeat ALS.