* [StGit PATCH] Allow "stg add" when we have no stack
@ 2007-09-02 23:59 Karl Hasselström
0 siblings, 0 replies; only message in thread
From: Karl Hasselström @ 2007-09-02 23:59 UTC (permalink / raw)
To: Catalin Marinas; +Cc: git
There's simply no reason not to allow this. It behaves just like
git-add, so it's well-defined enough.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
stgit/commands/add.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/stgit/commands/add.py b/stgit/commands/add.py
index 7f5a0b3..fc9c5a7 100644
--- a/stgit/commands/add.py
+++ b/stgit/commands/add.py
@@ -40,7 +40,4 @@ def func(parser, options, args):
if len(args) < 1:
parser.error('incorrect number of arguments')
- if not crt_series.get_current():
- raise CmdException, 'No patches applied'
-
git.add(args)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-02 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-02 23:59 [StGit PATCH] Allow "stg add" when we have no stack Karl Hasselström
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).