Skip to content

Commit

Permalink
Make sure git config is set when applying patches
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu committed Aug 28, 2023
1 parent 4a43a4d commit 16efdeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apply_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ cd $(dirname $0)
for dir in patches/* ; do
repo=$(basename $dir)
pushd $repo
git config user.email || git config user.email "nobody@example.org"
git config user.name || git config user.name "Nobody"
for patch in ../patches/$repo/*.patch ; do
git apply --3way --ignore-space-change $patch
git commit -m "Apply $(basename $patch)"
Expand Down

0 comments on commit 16efdeb

Please sign in to comment.