summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2018-04-27 17:23:31 -0500
committerDean Troyer <dtroyer@gmail.com>2018-04-27 17:25:48 -0500
commit5c0df7ef136732ba7051d0fb7af92f097c482796 (patch)
tree5f1c26bd19595e644664db5b1de05cc70d1a6dc1
parent3a0fb60b332c6944da6bc7b67fa1479e5e2ed80b (diff)
Fix command error in filter
An apparently missing space in an if condition causes a command not found error. Change-Id: I40e2ea3dbe6f2ce507e9aaa7a563054d009f9c0b
Notes
Notes (review): Code-Review+2: Doug Hellmann <doug@doughellmann.com> Workflow+1: Doug Hellmann <doug@doughellmann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 28 Apr 2018 00:08:32 +0000 Reviewed-on: https://review.openstack.org/564902 Project: openstack/oslo.tools Branch: refs/heads/master
-rwxr-xr-xfilter_git_history.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter_git_history.sh b/filter_git_history.sh
index 1336b5c..28407a6 100755
--- a/filter_git_history.sh
+++ b/filter_git_history.sh
@@ -30,7 +30,7 @@ for file in $files_to_keep; do
30 if git merge-base --is-ancestor $root $file_root; then 30 if git merge-base --is-ancestor $root $file_root; then
31 fail=1 31 fail=1
32 break 32 break
33 elif !git merge-base --is-ancestor $file_root $root; then 33 elif ! git merge-base --is-ancestor $file_root $root; then
34 new_roots="$new_roots $root" 34 new_roots="$new_roots $root"
35 fi 35 fi
36 done 36 done