Skip to content

Commit

Permalink
bugfix: creating new story in tracker when first line is an empty com…
Browse files Browse the repository at this point in the history
…ment

Signed-off-by: Balint Erdi <balint.erdi@gmail.com>
  • Loading branch information
balinterdi authored and tpope committed Jul 8, 2009
1 parent daa450e commit 3097d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pickler/feature.rb
Expand Up @@ -69,8 +69,8 @@ def pushable?

def push
body = local_body
return if story.to_s(pickler.format) == body.to_s
if story
return if story.to_s(pickler.format) == body.to_s
story.to_s = body
story.save!
else
Expand Down

0 comments on commit 3097d91

Please sign in to comment.