git/list[1] front-page[2] threads[3] people[4] search[5] about
 

StGit: kha/{safe,experimental} updated

From
Karl Hasselström <kha@treskal.com>
Date
May 14, 2008, 01:43 UTC
Message-ID
<20080514014309.GA17955@diana.vm.bytemark.co.uk>

kha/safe has improved version handling: "stg --version" will now present a detailed version number just like git does:

  $ stg --version
  Stacked GIT 0.14.2.152.g77bd

kha/safe also has an improvement/bugfix to the emacs mode: it will automatically cd up to the root of your worktree, just like git's emacs mode has done since forever.

kha/experimental has a new command, stg redo. The combination undo + redo makes it easy to move back and forth in the patch stack history.

                                 -+-
The following changes since commit d9b2f20a72706d6b4f553a8a8e25bd67f87ed616:
  Karl Hasselström (1):
        Use test_cmp instead of diff -u in the test suite
are available in the git repository at:
  git://repo.or.cz/stgit/kha.git safe
Karl Hasselström (4):
      Remove "stg" from start of log messages
      Import version to a separate namespace
      Better StGit version tracking
      Emacs mode: automatically cd up to root of worktree
 contrib/stgit.el           |   13 ++++++++++-
 setup.py                   |   14 ++++++-----
 stgit/.gitignore           |    1 +
 stgit/commands/clean.py    |    2 +-
 stgit/commands/coalesce.py |    2 +-
 stgit/commands/commit.py   |    2 +-
 stgit/commands/edit.py     |    2 +-
 stgit/commands/goto.py     |    2 +-
 stgit/commands/uncommit.py |    2 +-
 stgit/version.py           |   52 +++++++++++++++++++++++++++++++++++++++++++-
 10 files changed, 78 insertions(+), 14 deletions(-)
                                 -+-
The following changes since commit 52144ce5f2bfb1268aee4a9999821987f8892dbf:
  Karl Hasselström (1):
        Emacs mode: automatically cd up to root of worktree
are available in the git repository at:
  git://repo.or.cz/stgit/kha.git experimental
Karl Hasselström (20):
      Disable patchlog test for "stg new"
      Convert "stg new" to the new infrastructure
      Refactor --author/--committer options
      Let "stg new" support more message options
      Emacs mode: use "stg new --file"
      Convert "stg delete" to the new infrastructure
      Emacs mode: delete patches
      Prevent most commands from running when there are conflicts
      Add property with a list of all patch names
      Library functions for tree and blob manipulation
      Write to a stack log when stack is modified
      Add utility function for reordering patches
      New command: stg reset
      Log conflicts separately
      Log conflicts separately for all commands
      Add a --hard flag to stg reset
      Don't write a log entry if there were no changes
      Move stack reset function to a shared location
      New command: stg undo
      New command: stg redo
 contrib/stgit.el           |   33 ++++--
 stgit/commands/branch.py   |   19 ++-
 stgit/commands/clean.py    |    2 +-
 stgit/commands/coalesce.py |    6 +-
 stgit/commands/commit.py   |   13 ++-
 stgit/commands/common.py   |   41 +++----
 stgit/commands/delete.py   |   76 +++++--------
 stgit/commands/diff.py     |    2 +-
 stgit/commands/edit.py     |   28 +----
 stgit/commands/export.py   |    2 +-
 stgit/commands/files.py    |    2 +-
 stgit/commands/id.py       |    2 +-
 stgit/commands/log.py      |    2 +-
 stgit/commands/mail.py     |    2 +-
 stgit/commands/new.py      |   97 +++++++++-------
 stgit/commands/patches.py  |    2 +-
 stgit/commands/redo.py     |   52 +++++++++
 stgit/commands/reset.py    |   61 ++++++++++
 stgit/commands/series.py   |    2 +-
 stgit/commands/show.py     |    2 +-
 stgit/commands/status.py   |    3 +-
 stgit/commands/top.py      |    2 +-
 stgit/commands/uncommit.py |    5 +-
 stgit/commands/undo.py     |   49 ++++++++
 stgit/lib/git.py           |  154 +++++++++++++++++++++-----
 stgit/lib/log.py           |  265 ++++++++++++++++++++++++++++++++++++++++++++
 stgit/lib/stack.py         |    8 ++
 stgit/lib/transaction.py   |   93 ++++++++++++---
 stgit/main.py              |    8 ++
 stgit/utils.py             |   50 ++++++++
 t/t1400-patch-history.sh   |    2 -
 t/t1600-delete-one.sh      |    8 +-
 t/t3100-reset.sh           |  151 +++++++++++++++++++++++++
 t/t3101-reset-hard.sh      |   56 +++++++++
 t/t3102-undo.sh            |   86 ++++++++++++++
 t/t3103-undo-hard.sh       |   56 +++++++++
 t/t3104-redo.sh            |  122 ++++++++++++++++++++
 37 files changed, 1339 insertions(+), 225 deletions(-)
 create mode 100644 stgit/commands/redo.py
 create mode 100644 stgit/commands/reset.py
 create mode 100644 stgit/commands/undo.py
 create mode 100644 stgit/lib/log.py
 create mode 100755 t/t3100-reset.sh
 create mode 100755 t/t3101-reset-hard.sh
 create mode 100755 t/t3102-undo.sh
 create mode 100755 t/t3103-undo-hard.sh
 create mode 100755 t/t3104-redo.sh
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Next: Karl Hasselström
Message 1 of 16 in “StGit: kha/{safe,experimental} updated”
  1. Karl HasselströmMay 14, 2008
  2. 1/2 Import version to a separate namespaceKarl Hasselström, May 14, 2008
  3. 2/2 Better StGit version trackingKarl Hasselström, May 14, 2008
  4. Emacs mode: automatically cd up to root of worktreeKarl Hasselström, May 14, 2008
  5. David KågedalMay 14, 2008
  6. Karl HasselströmMay 14, 2008
  7. New command: stg redoKarl Hasselström, May 14, 2008
  8. Catalin MarinasMay 19, 2008
  9. Karl HasselströmMay 20, 2008
  10. Catalin MarinasMay 20, 2008
  11. Karl HasselströmMay 20, 2008
  12. Try the built-in version string before git-describeKarl Hasselström, May 20, 2008
  13. Catalin MarinasMay 21, 2008
  14. Karl HasselströmMay 21, 2008
  15. Catalin MarinasMay 21, 2008
  16. Karl HasselströmMay 21, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.