Skip to content

Commit

Permalink
prevent leading newline when using the just_edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lethliel committed Oct 4, 2017
1 parent dd1c751 commit afcf206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ set +e
elif [ ! $just_edit ]; then
echo "- "
fi
if [ -f "$changelog" ] && [ -s "$changelog" ]; then
if [ -f "$changelog" ] && [ -s "$changelog" ] && [ ! $just_edit ]; then
# Avoid double newlines at EOF on a new blank .changes file,
# but do provide enough spacing between preexisting log entries.
echo
Expand Down

0 comments on commit afcf206

Please sign in to comment.