Make documentation less confusing
authorKarl Hasselström <kha@treskal.com>
Mon, 4 Feb 2008 18:57:42 +0000 (19:57 +0100)
committerKarl Hasselström <kha@treskal.com>
Sun, 10 Feb 2008 14:46:37 +0000 (15:46 +0100)
It's not just by default "stg new" doesn't do a refresh -- it never
does.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/new.py

index 49c729d..6a8f086 100644 (file)
@@ -31,9 +31,9 @@ Create a new, empty patch and make it the topmost one. If the
 '--message' option is not passed, an editor is invoked with the
 .git/patchdescr.tmpl, ~/.stgit/templates/patchdescr.tmpl or
 /usr/share/stgit/templates/patchdescr.tmpl file used a as template,
 '--message' option is not passed, an editor is invoked with the
 .git/patchdescr.tmpl, ~/.stgit/templates/patchdescr.tmpl or
 /usr/share/stgit/templates/patchdescr.tmpl file used a as template,
-together with generated lines. By default, the local changes in the
-working tree are not included in the patch. A 'refresh' command is
-needed for this.
+together with generated lines. The local changes in the working tree
+are not included in the patch; an "stg refresh" command is needed for
+this.
 
 If no name is given for the new patch, one is generated from the first
 line of the commit message."""
 
 If no name is given for the new patch, one is generated from the first
 line of the commit message."""