simonthum / git-sync

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

Allow commit message to be overridden by git config. #4

Closed boombatower closed 10 years ago

boombatower commented 10 years ago

As suggested in #3. This does not allow the commit message to be evaluated and means the default message is evaluated at beginning of script so in theory the date could be a second or two before the actually commit, but seems better than loads of escaping and weirdness.

I will be using this fork for some projects of mine where I want a static message.

Thoughts?

simonthum commented 10 years ago

Looks like a useful compromise. I'm going to merge it, assuming it survives testing on a few of my machines.