diff options
author | Jani Nikula <jani.nikula@intel.com> | 2018-03-14 11:06:56 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2018-03-14 17:21:45 +0200 |
commit | e1c07d8d90e60d44456c18ee4a7993d85000fe9f (patch) | |
tree | 49ff55b2d427820330abb1847881849d32b00dd2 | |
parent | d9d3c68f03e894389e7f7f827f3350bffb48dbdc (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-x | qf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |