Skip to content

Various cleanups

Karl Hasselström git 1 version In review

Get series with b4
b4 am 20080129030059.926.29897.stgit@yoghurt

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Create index and worktree objects just oncestgit/commands/coalesce.py stgit/commands/commit.py stgit/commands/goto.py +1 more+27 -130 replies
2/5Wrap excessively long linestgit/commands/common.py+2 -10 replies
3/5Eliminate temp variable that's used just oncestgit/lib/transaction.py+1 -20 replies
4/5Simplify editor selection logicstgit/utils.py+2 -64 replies
5/5Let the caller supply the diff text to diffstat()stgit/commands/diff.py stgit/commands/edit.py stgit/commands/export.py +3 more+21 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [StGit PATCH 0/5] Various cleanups

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(-)
Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle