aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-10 09:13:34 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-10 09:13:34 +0100
commit908a47041241f3bd30b2418cddfb60a4b8842098 (patch)
tree2482be2301c2960d427a0253686b7c5e2ac4e741
parenta0cfaac3a52d9920e74596312c169369a019557f (diff)
No need to chgdir when using -C on git
-rw-r--r--lib/subcommands/diff.bash1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/subcommands/diff.bash b/lib/subcommands/diff.bash
index b64a500..714897f 100644
--- a/lib/subcommands/diff.bash
+++ b/lib/subcommands/diff.bash
@@ -6,6 +6,5 @@
subcommand()
{
- chgdir "$BASHTARD_ETCDIR"
git -C "$BASHTARD_ETCDIR" diff
}