diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-07-01 16:37:38 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-07-01 16:37:38 -0700 |
commit | 53bf4114dae61ec9efc5aac8b485d1803d65e2cf (patch) | |
tree | 7227bd5af009ad4c694c8265bfeeee0cb29c5c51 | |
parent | 3e26ff00c6af7d598219a3fc806398424e3a973d (diff) | |
download | fedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.tar.gz fedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.tar.xz fedora-packager-53bf4114dae61ec9efc5aac8b485d1803d65e2cf.zip |
Use the diff function.
-rwxr-xr-x | src/fedpkg.py | 2 |
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") |