From 53bf4114dae61ec9efc5aac8b485d1803d65e2cf Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 1 Jul 2010 16:37:38 -0700 Subject: Use the diff function. --- src/fedpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fedpkg.py') diff --git a/src/fedpkg.py b/src/fedpkg.py index 5840c84..a86bd37 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -466,7 +466,7 @@ def import_srpm(args): sys.exit(1) # replace this system call with a proper diff target when it is # readys - os.system('GIT_PAGER='' git diff --cached') + mymodule.diff(cached=True) print('--------------------------------------------') print("New content staged and new sources uploaded.") print("Commit if happy or revert with: git reset --hard HEAD") -- cgit