From 908a47041241f3bd30b2418cddfb60a4b8842098 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Fri, 10 Mar 2023 09:13:34 +0100 Subject: No need to chgdir when using -C on git --- lib/subcommands/diff.bash | 1 - 1 file changed, 1 deletion(-) 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 } -- cgit v1.1