commit | 4f21054c2841809da5e1e600b1cc765811288a80 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Mon Jun 14 16:05:19 2021 -0400 |
committer | Mike Frysinger <vapier@google.com> | Tue Jun 15 06:07:37 2021 +0000 |
tree | 326156bb4407124de07207847bd9e4587124e37d | |
parent | 5ba2120362ceb49b89e0536108792fd7c824e28a [diff] [blame] |
commands: document the "common" class attribute Switch it to uppercase to make it clear it's a constant, and add documentation so its usage is clear. Change-Id: I6d281a66a90b5908b3131585c9945e88cfe815ea Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/309322 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
diff --git a/subcmds/diff.py b/subcmds/diff.py index b400ccf..00a7ec2 100644 --- a/subcmds/diff.py +++ b/subcmds/diff.py
@@ -19,7 +19,7 @@ class Diff(PagedCommand): - common = True + COMMON = True helpSummary = "Show changes between commit and working tree" helpUsage = """ %prog [<project>...]