Git best practices say the first line in your commit message should be no more than 50 characters. Subsequent lines should be wrapped at 80 characters. See http://tbaggery.com/2008/04/19/a-note-about-git-commit-messa...
I tried as per pilgrim689's comment, Now everything is fine with --oneline argument.
Thanks.