From 0e5f6cfe4364b25f62be175ba015439639e2e2b9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 12 Jul 2019 14:30:05 +0200 Subject: bin/nit-picker: fix parsing bug --- bin/nit-picker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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' \ -- cgit v1.2.3-70-g09d2