summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2021-04-26 11:45:06 +0100
committerGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2021-04-26 11:45:06 +0100
commit902272956f20c922ba0f290fd76bac34c7c3296d (patch)
tree5def5447f2e4d9d5097f2719cb0a51b8465dd379
parent`git landed` command (diff)
downloadmisc-scripts-902272956f20c922ba0f290fd76bac34c7c3296d.tar.gz
misc-scripts-902272956f20c922ba0f290fd76bac34c7c3296d.tar.bz2
misc-scripts-902272956f20c922ba0f290fd76bac34c7c3296d.zip
fix passing flags in git-landed
-rwxr-xr-xbin/git-landed2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-landed b/bin/git-landed
index 78c0e8d..420d6ac 100755
--- a/bin/git-landed
+++ b/bin/git-landed
@@ -18,5 +18,5 @@ done
there="${revs[0]:?need a commitish}"
here="${revs[1]:-HEAD}"
-git log "$here" ^"$there" --ancestry-path --merges --reverse -z "$flags" \
+git log "$here" ^"$there" --ancestry-path --merges --reverse -z "${flags[@]}" \
| head -z -n 1