chiark / gitweb /
Fix more commands to run correctly in subdirectories
[stgit] / stgit / commands / pull.py
index 0078e5514dcfa967bc9df6f7e4310e40fe6041c1..bec7fd72a0a7312a0cd90e4c59099fa1fc21dbb2 100644 (file)
@@ -38,7 +38,7 @@ resolved and the patch pushed again.
 
 Check the 'git fetch' documentation for the <repository> format."""
 
-directory = DirectoryHasRepository()
+directory = DirectoryGotoToplevel()
 options = [make_option('-n', '--nopush',
                        help = 'do not push the patches back after pulling',
                        action = 'store_true'),