Skip to content

Commit 5e4f880

Browse files
committed
setup-git-config: run filters immediately
1 parent 2cfdcac commit 5e4f880

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup-git-config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#!/bin/sh
22
# Run this file to set up repository's git config for auto-versioning of scripts
33
git config --local include.path '../.gitconfig'
4+
# Run the filters immediately
5+
rm .git/index
6+
git checkout HEAD -- "$(git rev-parse --show-toplevel)"

0 commit comments

Comments
 (0)