summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2017-01-17 15:24:20 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-01-18 16:50:18 +0100
commitdf2b82cabfd25bd795a7ecda08eab98e841e7a13 (patch)
tree2cfdb6b40af03c9b22460545d2116f3e23102f75
parent80987c40fd28ef282184f997ed59dbafc4d5921f (diff)
downloaddpdk-df2b82cabfd25bd795a7ecda08eab98e841e7a13.zip
dpdk-df2b82cabfd25bd795a7ecda08eab98e841e7a13.tar.gz
dpdk-df2b82cabfd25bd795a7ecda08eab98e841e7a13.tar.xz
devtools: fix lookup commit fixing a fix of many commits
There was a bug when looking at a commit fixing a commit which itself was fixing many commits: % devtools/git-log-fixes.sh 12ee45a36~..12ee45a36 devtools/git-log-fixes.sh: 96: local: 5499c1fc9baa: bad variable name In this case, the list of commits was not quoted in variable assignment. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
-rwxr-xr-xdevtools/git-log-fixes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh
index 4824c7f..d590735 100755
--- a/devtools/git-log-fixes.sh
+++ b/devtools/git-log-fixes.sh
@@ -90,7 +90,7 @@ origin_version () # <origin_hash> ...
git rev-parse -q --verify $1 >&- || continue
# get version of this bug origin
local origver=$(commit_version $origin)
- local roothashes=$(origin_filter $origin)
+ local roothashes="$(origin_filter $origin)"
if [ -n "$roothashes" ] ; then
# look chained fix of fix recursively
local rootver="$(origin_version $roothashes)"