summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-07-01 16:37:38 -0700
committerJesse Keating <jkeating@redhat.com>2010-07-01 16:37:38 -0700
commit53bf4114dae61ec9efc5aac8b485d1803d65e2cf (patch)
tree7227bd5af009ad4c694c8265bfeeee0cb29c5c51
parent3e26ff00c6af7d598219a3fc806398424e3a973d (diff)
downloadfedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.tar.gz
fedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.tar.xz
fedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.zip
Use the diff function.
-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")