Skip to content

Commit b93794a

Browse files
ttbeanieboi
authored andcommitted
Avoid reading global Git configuration
1 parent a8a4208 commit b93794a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pliny/commands/updater.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_current_version
5959

6060
def save_patch(curr, target)
6161
# take a diff of changes that happened to the template app in Pliny
62-
diff = `cd #{repo_dir} && git diff v#{curr}..v#{target} lib/template/`
62+
diff = `cd #{repo_dir} && GIT_CONFIG_GLOBAL=/dev/null git diff v#{curr}..v#{target} lib/template/`
6363

6464
# remove /lib/template from the path of files in the patch so that we can
6565
# apply these to the current folder

0 commit comments

Comments
 (0)