فهرست منبع

Add example invocation for diff.py.

Jelmer Vernooij 11 سال پیش
والد
کامیت
0f6a065832
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      examples/diff.py

+ 3 - 0
examples/diff.py

@@ -1,6 +1,9 @@
 #!/usr/bin/python
 # This trivial script demonstrates how to extract the unified diff for a single
 # commit in a local repository.
+#
+# Example usage:
+#  python examples/diff.py
 
 from dulwich.repo import Repo
 from dulwich.patch import write_tree_diff