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

[StGit PATCH 0/3] Support for command aliases

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
Jan 8, 2010, 12:35 UTC
Message-ID
<20100108123403.24161.3495.stgit@pc1117.cambridge.arm.com>
Hi,

These patches add support for StGit command aliases via stgit.alias.<cmd> config options. They also re-add previously removed commands (add, rm, resolved) and a new one (mv).

stg help lists the present aliases.
Catalin Marinas (3):
      Populate the cached config options with the defaults
      Add support for command aliases
      Replace some git commands with stg aliases in test scripts
 stgit/commands/__init__.py     |    3 ++-
 stgit/config.py                |   37 +++++++++++++++++++++++--------------
 stgit/main.py                  |   35 ++++++++++++++++++++++++++++++++++-
 t/t0001-subdir-branches.sh     |    2 +-
 t/t0002-status.sh              |   12 ++++++------
 t/t1000-branch-create.sh       |    4 ++--
 t/t1002-branch-clone.sh        |    2 +-
 t/t1200-push-modified.sh       |    2 +-
 t/t1201-pull-trailing.sh       |    2 +-
 t/t1202-push-undo.sh           |    6 +++---
 t/t1203-push-conflict.sh       |    6 +++---
 t/t1204-pop-keep.sh            |    2 +-
 t/t1205-push-subdir.sh         |    6 +++---
 t/t1206-push-hidden.sh         |    2 +-
 t/t1207-push-tree.sh           |    2 +-
 t/t1300-uncommit.sh            |    4 ++--
 t/t1301-repair.sh              |    8 ++++----
 t/t1302-repair-interop.sh      |    2 +-
 t/t1500-float.sh               |   14 +++++++-------
 t/t1501-sink.sh                |   12 ++++++------
 t/t1600-delete-one.sh          |   12 ++++++------
 t/t1601-delete-many.sh         |    2 +-
 t/t1602-delete-spill.sh        |    2 +-
 t/t1700-goto-top.sh            |    2 +-
 t/t1701-goto-hidden.sh         |    2 +-
 t/t1800-import.sh              |    4 ++--
 t/t1900-mail.sh                |    2 +-
 t/t2000-sync.sh                |   12 ++++++------
 t/t2100-pull-policy-fetch.sh   |    4 ++--
 t/t2101-pull-policy-pull.sh    |    6 +++---
 t/t2102-pull-policy-rebase.sh  |    4 ++--
 t/t2200-rebase.sh              |    4 ++--
 t/t2300-refresh-subdir.sh      |    4 ++--
 t/t2400-diff.sh                |    2 +-
 t/t2500-clean.sh               |    2 +-
 t/t2600-squash.sh              |    2 +-
 t/t2700-refresh.sh             |    6 +++---
 t/t2701-refresh-p.sh           |    4 ++--
 t/t2702-refresh-rm.sh          |   10 +++++-----
 t/t2800-goto-subdir.sh         |    2 +-
 t/t3000-dirty-merge.sh         |    2 +-
 t/t3100-reset.sh               |    2 +-
 t/t3101-reset-hard.sh          |    2 +-
 t/t3102-undo.sh                |    2 +-
 t/t3103-undo-hard.sh           |    2 +-
 t/t3104-redo.sh                |    2 +-
 t/t3105-undo-external-mod.sh   |    6 +++---
 t/t3200-non-ascii-filenames.sh |    4 ++--
 t/t3300-edit.sh                |    2 +-
 t/t3400-pick.sh                |    8 ++++----
 t/t4100-publish.sh             |   12 ++++++------
 51 files changed, 169 insertions(+), 126 deletions(-)
-- 
Catalin
Next: Catalin Marinas
Message 1 of 6 in “Support for command aliases”
  1. 0/3 Support for command aliasesCatalin Marinas, Jan 8, 2010
  2. 1/3 Populate the cached config options with the defaultsCatalin Marinas, Jan 8, 2010
  3. Karl WibergJan 8, 2010
  4. Karl WibergJan 8, 2010
  5. 2/3 Add support for command aliasesCatalin Marinas, Jan 8, 2010
  6. 3/3 Replace some git commands with stg aliases in test scriptsCatalin Marinas, Jan 8, 2010

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.