Add `--tags` to `git name-rev` example.
authorW. Trevor King <wking@drexel.edu>
Thu, 4 Aug 2011 03:13:41 +0000 (23:13 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 4 Aug 2011 03:13:41 +0000 (23:13 -0400)
posts/Git/notes.org

index 8b9f18fa7306c581d036d54cdb2dce13396d8743..82ff927a50a999d7666da0b70b81e00e2f878656 100644 (file)
@@ -738,7 +738,7 @@ previous commit
 
 ** Find out if a change is part of a release
 
-    : $ git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a
+    : $ git name-rev --tags 33db5f4d9027a10e477ccf054b2c1ab94f74c85a
     : 33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940
 
 Now you are wiser, because you know that it happened 940 revisions