瀏覽代碼

Clarify porcelain intent.

Jelmer Vernooij 3 年之前
父節點
當前提交
0ad4e8847c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      dulwich/porcelain.py

+ 4 - 0
dulwich/porcelain.py

@@ -53,6 +53,10 @@ Currently implemented:
 These functions are meant to behave similarly to the git subcommands.
 These functions are meant to behave similarly to the git subcommands.
 Differences in behaviour are considered bugs.
 Differences in behaviour are considered bugs.
 
 
+Note: one of the consequences of this is that paths tend to be
+interpreted relative to the current working directory rather than relative
+to the repository root.
+
 Functions should generally accept both unicode strings and bytestrings
 Functions should generally accept both unicode strings and bytestrings
 """
 """