{"thread":{"id":"31947","subject":"git rebase -i and final newline","startedAt":"2012-10-26T02:09:20Z","lastAt":"2012-10-26T02:09:20Z","messageCount":1,"participants":["Steven Penny"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"201930","messageId":"CAAXzdLUvDkdPJqF+xgnZ51LQ-vfB1Jea5Pf9PvRS+qHx1+RZuw@mail.gmail.com","threadId":"31947","inReplyTo":null,"subject":"git rebase -i and final newline","fromName":"Steven Penny","fromEmail":"svnpenn@gmail.com","sentAt":"2012-10-26T02:09:20Z","receivedAt":"2012-10-26T02:09:20Z","isPatch":false,"sender":{"key":"svnpenn@gmail.com","avatar":"https://avatars.githubusercontent.com/u/60531334?v=4"},"body":"Sorry if I am drumming up and old issue here. I have noticed that with\n\"git rebase -i\", if your final line contains a commit and no newline, git\ninterprets that as \"remove this commit please\".\n\nI feel that a commit should be removed only if the entire line is removed, that\nis the commit hash and title as well as the newline.\n\nI have noticed that the behavior is \"correct\" with \"git commit\". Even if you\nomit the final newline after the commit message body, all text lines will be\nincluded.\n"}]}