summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2018-03-14 11:06:56 +0200
committerJani Nikula <jani.nikula@intel.com>2018-03-14 17:21:45 +0200
commite1c07d8d90e60d44456c18ee4a7993d85000fe9f (patch)
tree49ff55b2d427820330abb1847881849d32b00dd2
parentd9d3c68f03e894389e7f7f827f3350bffb48dbdc (diff)
qf: fix shellcheck warning
In qf line 411: git reset --hard $(git rev-parse --abbrev-ref @{u}) ^-- SC1083: This { is literal. Check expression (missing ;/\n?) or quote it. ^-- SC1083: This } is literal. Check expression (missing ;/\n?) or quote it. Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Fixes: 0db9811183aa ("qf: Make qf_pull -f forcibly clean") Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rwxr-xr-xqf2
1 files changed, 1 insertions, 1 deletions
diff --git a/qf b/qf
index 6dcf26970726..d1499ada1951 100755
--- a/qf
+++ b/qf
@@ -408,7 +408,7 @@ function qf_pull
cd patches
if [[ $FORCE ]]; then
- git reset --hard $(git rev-parse --abbrev-ref @{u})
+ git reset --hard $(git rev-parse --abbrev-ref "@{u}")
quiet_pop_all -f
else
git pull --ff-only