Created
July 14, 2011 17:31
-
-
Save ggreer/1082944 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
| ggreer@carbon:~/Library/Application Support/TextMate/Bundles/Git.tmbundle$ git diff | |
| diff --git a/Support/lib/git.rb b/Support/lib/git.rb | |
| index 5e8de13..5192953 100644 | |
| --- a/Support/lib/git.rb | |
| +++ b/Support/lib/git.rb | |
| @@ -307,6 +307,9 @@ module SCM | |
| file = make_local_path(file_path) | |
| args = [file] | |
| args << revision unless revision.nil? || revision.empty? | |
| + # Ignore whitespace when comparing the parent's version and | |
| + # the child's to find where the lines came from. | |
| + args << '-w' | |
| output = command("annotate", *args) | |
| if output.match(/^fatal:/) | |
| puts output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment