G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Support custom commit messages #253

Closed achilleas-k closed 5 years ago

achilleas-k commented 5 years ago

New commit flag "message" (or "m" for short form) can be used to set a custom commit message.

The automatic commit message includes a summary of the changes being committed (files added, removed, modified). If this new flag is used, only the commit message specified is added. Do you think it should add the summary as the message body?

I'm also considering going back to listing the files that were affected. It used to do this, but I removed it thinking it might be an issue when the file list is too large. This doesn't seem to be a common phenomenon and even in that case, we could print the filenames affected up to a certain number (or text length).