diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-10-22 16:26:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-10-22 16:26:41 +0000 |
commit | 580e1a8bb10173d4c02561c759212dff7c8d1135 (patch) | |
tree | a5ae3bf939dcce5dc40b11401e05f5cb26d9494a | |
parent | 39d32abaa7521c7c00fd2b61ba0e1a29f987b7b2 (diff) | |
parent | aac30bf211753ea17871ef80bfa3285c5a5ec08f (diff) | |
download | oslo-incubator-580e1a8bb10173d4c02561c759212dff7c8d1135.tar.gz |
Merge "Remove quotes from subshell call in bash script"
-rwxr-xr-x | tools/filter_git_history.sh | 2 |
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 |