Created
April 17, 2012 08:48
-
-
Save zcoder/2404695 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- git-rebase--interactive.old 2011-06-11 13:17:48.000000000 +0400 | |
+++ git-rebase--interactive 2012-04-17 12:44:09.000000000 +0400 | |
@@ -951,7 +951,7 @@ | |
REVISIONS=$ONTO...$HEAD | |
SHORTREVISIONS=$SHORTHEAD | |
fi | |
- git rev-list $MERGES_OPTION --pretty=oneline --abbrev-commit \ | |
+ git rev-list $merges_option --pretty=">%h (%an <%ae>) %s"\ | |
--abbrev=7 --reverse --left-right --topo-order \ | |
$REVISIONS | \ | |
sed -n "s/^>//p" | |
Currently the only way is to edit this file.
Since git 2.6.0 you can add a config variable rebase.instructionFormat
to do this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there anyway to pass a command line option to git to display it like this when doing an interactive rebase, or is the only option to modify the installed file?