git revert command opens a vi session for entering additional messages I need to capture that and do it through perl -


i performing git revert , redirects vi session in need put in additional information submit.

is there way achieve through perl.

git respects $editor environment variable when opening editor. set $editor full path perl script, should read name of temporary file first argument.

make sure save modified message temporary file , exit 0 status.


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -