chiark / gitweb /
Tutorial: Explain diffs a little bit better
[stgit] / Documentation / tutorial.txt
index 103f3e495bd83c8169e23dd25fd20d6044dfae28..e9d8b22168149576723b3d5a795ff29485dc180d 100644 (file)
@@ -103,10 +103,11 @@ And voilĂ  -- the patch is no longer empty:
            _main()
        finally:
 
-(I'm assuming you're already familiar with patches like this from Git,
-but it's really quite simple; in this example, I've added the +$$print
-'My first patch!'$$+ line to the file +stgit/main.py+, at around line
-171.)
+(I'm assuming you're already familiar with
+htmllink:http://en.wikipedia.org/wiki/Diff#Unified_format[unified
+diff] patches like this from Git, but it's really quite simple; in
+this example, I've added the +$$print 'My first patch!'$$+ line to the
+file +stgit/main.py+, at around line 171.)
 
 Since the patch is also a regular Git commit, you can also look at it
 with regular Git tools such as manlink:gitk[].