Skip to content

Commit

Permalink
fix gdiff obscuring normal diff
Browse files Browse the repository at this point in the history
  • Loading branch information
bdargan committed Sep 1, 2014
1 parent e9b77a3 commit a7e3b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _functions
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function md() {
# Use Git’s colored diff when available
hash git &>/dev/null
if [ $? -eq 0 ]; then
function diff() {
function gdiff() {
git diff --no-index --color-words "$@"
}
fi
Expand Down

0 comments on commit a7e3b72

Please sign in to comment.