Kyle Laker d24a9dbccc
agnoster: fix git working tree check (#9072)
`git rev-parse --is-inside-work-tree` does not have a different exit
code when not within a work tree; the difference is in the output,
either "true" when in a work tree, or "false" when not.

The if was modified similarly to the check for the hide-status config,
which also parses command output rather than exit code.

Co-authored-by: Kyle Laker <klaker@easydynamics.com>
2020-07-01 19:05:53 +02:00
..
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2011-07-12 23:20:21 -04:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2011-05-30 19:10:26 -04:00
2018-08-07 20:42:01 +02:00
2012-03-07 23:52:51 +08:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2011-06-01 12:45:15 +02:00
2020-06-10 12:57:01 +02:00
2020-02-27 18:28:08 +01:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2014-06-08 10:43:26 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00