Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-12 14:30:05 +0200
committerErich Eckner <git@eckner.net>2019-07-12 14:30:05 +0200
commit0e5f6cfe4364b25f62be175ba015439639e2e2b9 (patch)
treec79af934b8fb5c51a9c1f239dc80af63af415863 /bin
parenta54a0581d42a45169650854f746188bf6fd270b6 (diff)
bin/nit-picker: fix parsing bug
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nit-picker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index ed2d708..5eba75c 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -125,7 +125,7 @@ while pgrep -x ii >/dev/null \
'commit') # check whether a given commit is present in the git repo
git_repo="${parameters%% *}"
git_rev="${parameters#${git_repo} }"
- git_head="${parameters%% *}"
+ git_head="${git_rev%% *}"
git_rev="${git_rev#${git_head} }"
eval "$(
printf 'git_dir="${repo_paths__%s}"\n' \