diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-12 17:00:16 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-12 17:00:16 +0100 |
commit | ca84d5f189ff6105fe9bd7fbc3890b862db2d460 (patch) | |
tree | 1a2c5bfd6fe8d8d994713e5cd9e28447f96b23fa /xlocate | |
parent | 3ac0299b6aab7ffa55fa0af53dc4ca0f1f3f12d4 (diff) | |
download | xtools-ca84d5f189ff6105fe9bd7fbc3890b862db2d460.tar.gz xtools-ca84d5f189ff6105fe9bd7fbc3890b862db2d460.tar.xz xtools-ca84d5f189ff6105fe9bd7fbc3890b862db2d460.zip |
xlocate: set --author for people with unconfigured git.
Diffstat (limited to 'xlocate')
-rwxr-xr-x | xlocate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate index 162dbbd..013e2ac 100755 --- a/xlocate +++ b/xlocate @@ -36,7 +36,7 @@ xupdategit() { LC_ALL= xargs -d'\n' -I'{}' -n1 -P "$(nproc)" -r -- \ sort -o {} {} git add ./* - git commit -q -m 'xupdategit' + git commit -q -m 'xupdategit' --author='xupdategit <xupdategit>' git repack -ad rm -rf "$XLOCATE_GIT" .git/COMMIT_EDITMSG .git/description \ .git/index .git/hooks .git/logs |