Let some commands work with detached HEAD
[stgit] / stgit / commands / add.py
index 264ab9f..ceea188 100644 (file)
@@ -31,7 +31,7 @@ Add the files or directories passed as arguments to the
 repository. When a directory name is given, all the files and
 subdirectories are recursively added."""
 
-directory = DirectoryHasRepository()
+directory = DirectoryHasRepository(needs_current_series = False)
 options = []