summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-10-22 16:26:41 +0000
committerGerrit Code Review <review@openstack.org>2015-10-22 16:26:41 +0000
commit580e1a8bb10173d4c02561c759212dff7c8d1135 (patch)
treea5ae3bf939dcce5dc40b11401e05f5cb26d9494a
parent39d32abaa7521c7c00fd2b61ba0e1a29f987b7b2 (diff)
parentaac30bf211753ea17871ef80bfa3285c5a5ec08f (diff)
downloadoslo-incubator-580e1a8bb10173d4c02561c759212dff7c8d1135.tar.gz
Merge "Remove quotes from subshell call in bash script"
-rwxr-xr-xtools/filter_git_history.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/filter_git_history.sh b/tools/filter_git_history.sh
index 79e90aab..1336b5c0 100755
--- a/tools/filter_git_history.sh
+++ b/tools/filter_git_history.sh
@@ -24,7 +24,7 @@ pruner="git ls-files | grep -v \"$keep_pattern\" | git update-index --force-remo
roots=""
for file in $files_to_keep; do
- file_root="$(git rev-list --reverse HEAD -- $file | head -n1)"
+ file_root=$(git rev-list --reverse HEAD -- $file | head -n1)
fail=0
for root in $roots; do
if git merge-base --is-ancestor $root $file_root; then