change usage string of refresh to not refer to removed options
PATCH 1/1 change usage string of refresh to not refer to removed options
for changing the patch author, commiter and description
---
I saw this while doing the refresh --index patch.
There was a discussion about bringing back refresh -e
If that also brings back this options, please do not apply the patch:-)
stgit/commands/refresh.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-)
stgit/commands/refresh.py +3 -5
@@ -31,11 +31,9 @@ usage = """%prog [options] [<files or dirs>] Include the latest tree changes in the current patch. This command generates a new GIT commit object with the patch details, the previous -one no longer being visible. The patch attributes like author, -committer and description can be changed with the command line -options. The '--force' option is useful when a commit object was -created with a different tool but the changes need to be included in -the current patch.""" +one no longer being visible. The '--force' option is useful +when a commit object was created with a different tool +but the changes need to be included in the current patch.""" directory = DirectoryHasRepository() options = [make_option('-f', '--force',
Signature · 1 line
1.5.4.rc2
Thanks! But ...
Quoted 1 line · Peter Oberndorfer
for changing the patch author, commiter and description
the first line in the commit message (which ends up being the Subject:
line in the mail) should be a short and self-contained summary. No need to resend just because of that, though -- I can fix it up.
Quoted 3 lines
I saw this while doing the refresh --index patch. There was a discussion about bringing back refresh -e If that also brings back this options, please do not apply the patch:-)
Resurrecting "refresh -e" is on my todo list. But until then, this is a good fix.
Signature · 2 lines
Karl Hasselström, [email protected] www.treskal.com/kalle