summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py2
1 files changed, 1 insertions, 1 deletions
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")