1
Fork 0

git: snapshot: remove cd to root of repo

This is unnecessary in Git 2.x.
This commit is contained in:
Alan Faubert 2023-06-21 06:40:42 -04:00
parent b227901f51
commit 66e514bfed
1 changed files with 0 additions and 1 deletions

View File

@ -1,6 +1,5 @@
#!/bin/sh
set -o errexit
cd "$(git rev-parse --show-toplevel)"
git -c user.name=_ -c user.email=_ commit --allow-empty --message _ --no-verify --quiet
git -c core.filemode add --all
git -c user.name=_ -c user.email=_ commit --allow-empty --message _ --no-verify --quiet