summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-28 00:08:32 +0000
committerGerrit Code Review <review@openstack.org>2018-04-28 00:08:32 +0000
commitab5008d844db97d989c2637a8487d04495dfea3d (patch)
treedb98d834ce3f55770f7990c7db1d4844bf0cd86b
parenta770c21c06471e4726e20e5ca126e34184e42eaa (diff)
parent5c0df7ef136732ba7051d0fb7af92f097c482796 (diff)
Merge "Fix command error in filter"
-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