simonthum / git-sync

Safe and simple one-script git synchronization
773 stars 99 forks source link

Allow commit message to be altered separate form entire commit command #3

Closed boombatower closed 10 years ago

boombatower commented 10 years ago

It would seem useful to alter the commit message without the need to change the entire command via:

branch.$branch_name.autocommitscript

By default:

"changes from $(uname -n) on $(date)"

Perhaps something along the lines of:

branch.$branch_name.syncCommitMessage

Thoughts?

simonthum commented 10 years ago

Sure. I didn't do that yet as I figured people will have a tough time bash-escaping their stuff but I will likely take patches.

Currently I'm in the process of setting up my new home (real, not virtual) so please don't expect me to rush to it.