Skip to content

Commit 472b48b

Browse files
committed
Fix the Repository Configuration section not specifying GIT_DIR
1 parent 074dd9f commit 472b48b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git-info‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ do_git_info () {
234234
fi
235235

236236
echo "Repository Configuration:"
237-
git config --local --list | sort | {
237+
GIT_DIR="$git_dir" git config --local --list | sort | {
238238
prev_section=
239239
prev_subsection=
240240
while read line; do

0 commit comments

Comments
 (0)