[StGit PATCH 0/3] Support for command aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]