raul/pt

Git commit type submits

Closed this issue · 2 comments

kzsh commented

This is a great project. Really great. I was a little surprised to not find 'description' as an argument to pt create

I understand that this might be because it's not practical to add long descriptions on the command line.

What if, like in git, when a commit was made without '-m' it opened an editor, and if the user saved and quit the editor, it submitted that as a description?

I suppose I ought to write this feature myself, but I know nearly nothing about ruby.

orta commented

@ahunt09 - This sounds like a perfect feature. I asked a few people if they expect this kind of behavior and I think you're right. If you don't write a PR I will within a week or two.

orta commented

Looks like I got it in somewhere between a week or two. Here is the commit: c3642cd

and you can get it by downloading 0.6.2 of the gem