Skip to content

Commit

Permalink
fix ggsh with merge commits
Browse files Browse the repository at this point in the history
  • Loading branch information
aspiers committed Oct 26, 2014
1 parent 0264618 commit e47b22f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .shared_rc.d/git-pager
Expand Up @@ -14,7 +14,8 @@ case "$GIT_PAGER_MODE" in
git_diff_highlight=y
;;
diff)
git_pager_regexp='^diff .*'
# ggsh could be showing a merge commit
git_pager_regexp='^(diff|commit) .*'
git_diff_highlight=y
;;
commit)
Expand Down

0 comments on commit e47b22f

Please sign in to comment.