summaryrefslogtreecommitdiff
path: root/bin/nit-picker
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nit-picker')
-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' \