Gazler / githug

Git your game on!
MIT License
6.86k stars 1.03k forks source link

Update line number in diff.rb #166

Closed MrAlexWeber closed 10 years ago

MrAlexWeber commented 10 years ago

Looking at the output from git diff on this level, it seems the correct line number is 23…

diff --git a/app.rb b/app.rb
index 4f703ca..3bfa839 100644
--- a/app.rb
+++ b/app.rb
@@ -23,7 +23,7 @@ get '/yet_another' do
   erb :success
 end
 get '/another_page' do
-  @message = get_response('data.json')
+  @message = get_response('server.json')
   erb :another
 end
Gazler commented 10 years ago

@MrAlexWeber this is a fairly common misconception. Please see https://github.com/Gazler/githug/issues/27