Infrastructure for current directory handling
[stgit] / stgit / commands / pull.py
index 237bdd9..5fcf2cc 100644 (file)
@@ -38,6 +38,7 @@ resolved and the patch pushed again.
 
 Check the 'git fetch' documentation for the <repository> format."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-n', '--nopush',
                        help = 'do not push the patches back after pulling',
                        action = 'store_true'),