From: Karl Hasselström Date: Tue, 29 Jan 2008 03:02:25 GMT Subject: [StGit PATCH 0/5] Various cleanups Message-ID: <20080129030059.926.29897.stgit@yoghurt> In-Reply-To: <20080129025821.GA1373@diana.vm.bytemark.co.uk> Some of these are very tiny, others are a bit bigger. They're all in kha/safe, since they should be perfectly safe. --- Karl Hasselström (5): Let the caller supply the diff text to diffstat() Simplify editor selection logic Eliminate temp variable that's used just once Wrap excessively long line Create index and worktree objects just once stgit/commands/coalesce.py | 2 +- stgit/commands/commit.py | 2 +- stgit/commands/common.py | 3 ++- stgit/commands/diff.py | 9 ++++----- stgit/commands/edit.py | 2 +- stgit/commands/export.py | 10 +++++----- stgit/commands/files.py | 2 +- stgit/commands/goto.py | 2 +- stgit/commands/mail.py | 16 +++++++--------- stgit/git.py | 9 +++------ stgit/lib/git.py | 34 ++++++++++++++++++++++++---------- stgit/lib/transaction.py | 3 +-- stgit/utils.py | 8 ++------ 13 files changed, 53 insertions(+), 49 deletions(-) -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle