[StGit PATCH 7/7] Include summary of added/deleted files in diffstat

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Catalin Marinas <catalin.marinas@...>
Cc: <git@...>, Karl <kha@...>
Date: Tuesday, September 11, 2007 - 12:50 am

Signed-off-by: Karl Hasselström <kha@treskal.com>

---

 stgit/git.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/stgit/git.py b/stgit/git.py
index 181e10d..539d699 100644
--- a/stgit/git.py
+++ b/stgit/git.py
@@ -764,7 +764,7 @@ def diff(files = None, rev1 = 'HEAD', rev2 = None, diff_flags = []):
 
 def diffstat(files = None, rev1 = 'HEAD', rev2 = None):
     """Return the diffstat between rev1 and rev2."""
-    return GRun('git-apply', '--stat'
+    return GRun('git-apply', '--stat', '--summary'
                 ).raw_input(diff(files, rev1, rev2)).raw_output()
 
 def files(rev1, rev2, diff_flags = []):

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[StGit PATCH 0/7] Assorted enhancements, Karl , (Tue Sep 11, 12:49 am)
[StGit PATCH 7/7] Include summary of added/deleted files in ..., Karl , (Tue Sep 11, 12:50 am)