Skip to content

Commit

Permalink
update example comment in bin/gn
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Aug 17, 2021
1 parent 07bbd34 commit 200e955
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bin/gn
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/usr/bin/python

#
# Print a diff summary like:
# Print a summary of a piped diff like:
#
# $ git diff 'master~10..master' | gn
# 293 lines of diff
# 185 lines (+200, -15)
# 650 words (+10, -660)
# $ git diff main | gn
# 49 lines of diff
# +11 lines (+18, -7)
# +77 words (+110, -33)
#
# or:
# or with a diff/patch file:
#
# $ gn my-awesome-patch.diff
# 293 lines of diff
# 185 lines (+200, -15)
# 650 words (+10, -660)
# 49 lines of diff
# +11 lines (+18, -7)
# +77 words (+110, -33)

import sys, os, re, fileinput

Expand Down

0 comments on commit 200e955

Please sign in to comment.