There are two patches for this - the first one moving the status --reset
functionality to 'stg reset --hard' (similar to Git) and the second
actually removing the 'status' command, adding the 'git status -s' alias
and modifying the tests to no longer fail.

The single drawback I noticed is the Git support for files with
non-ASCII names (see the tests that have been modified).


Catalin Marinas (2):
      Allow 'stg reset --hard' to reset the changes in the worktree
      Replace the 'stg status' command with the 'git status -s' alias


 stgit/commands/reset.py        |   29 ++++++-----
 stgit/commands/status.py       |  110 ----------------------------------------
 stgit/config.py                |    3 +
 t/t0002-status.sh              |   45 +++++-----------
 t/t1205-push-subdir.sh         |    4 +
 t/t1501-sink.sh                |    2 -
 t/t1502-float-conflict-1.sh    |    2 -
 t/t1503-float-conflict-2.sh    |    2 -
 t/t2300-refresh-subdir.sh      |    6 +-
 t/t2702-refresh-rm.sh          |   28 +++++-----
 t/t3101-reset-hard.sh          |    2 -
 t/t3103-undo-hard.sh           |    2 -
 t/t3200-non-ascii-filenames.sh |    2 -
 13 files changed, 59 insertions(+), 178 deletions(-)
 delete mode 100644 stgit/commands/status.py

_______________________________________________
stgit-users mailing list
[email protected]
https://mail.gna.org/listinfo/stgit-users

Reply via email to