New alias for quickly using git filter-branch to add my SoB to a set of
patches. Use like so:
git-sign-off HEAD~3..HEAD
Signed-off-by: Michael Turquette <mturquette@deferred.io>
The case block in git.aliases.bash does the right thing for vim users
that do not populate $EDITOR. However vim users that populate $EDITOR
are met with the following error:
$ gd
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.
Fix this inconsistency by adding another case block in the else block
which handles passing the appropriate arguments to vim.
Signed-off-by: Michael Turquette <mturquette@deferred.io>
This continues a pattern that was introduced in ffa45b0 and refined
further in later commits. This enables all aliases by default, but can
be disabled by any user if they remove the appropriate
aliases/enabled/*.bash file.