Simplify logic.
This commit is contained in:
parent
b381a62c21
commit
16a8ff2d6d
@ -370,7 +370,7 @@ main() {
|
|||||||
|
|
||||||
# With DVCS repos, we do not do ChangeLogs by default...
|
# With DVCS repos, we do not do ChangeLogs by default...
|
||||||
# ...at least unless they're already there.
|
# ...at least unless they're already there.
|
||||||
if [ ${SC_VCS} != git -a ${SC_VCS} != hg -o -f ChangeLog ]; then
|
if [ ${SC_VCS#git-} = svn -o -f ChangeLog ]; then
|
||||||
sayv 'Cleaning up the ChangeLog...'
|
sayv 'Cleaning up the ChangeLog...'
|
||||||
vcs_reset ChangeLog
|
vcs_reset ChangeLog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user