Created
October 9, 2011 04:38
-
-
Save jccarbonfive/1273307 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 diff --cached | |
| diff --git a/foo.rb b/foo.rb | |
| index 33c40b2..f8879cf 100644 | |
| --- a/foo.rb | |
| +++ b/foo.rb | |
| @@ -1,10 +1,12 @@ | |
| class Foo | |
| def bar | |
| puts 'BAR' | |
| + $logger.log 'Foo#bar' | |
| end | |
| def baz | |
| puts 'BAZ' | |
| + $logger.log 'Foo#baz' | |
| end | |
| private |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment