From 9d7e512409f29c967d84dcb8df997b5cf67fbf45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Sat, 3 Oct 2020 11:51:48 +0200 Subject: [PATCH] Clarify Repository.apply doc string Issue #1037 --- src/repository.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/repository.c b/src/repository.c index 201791ee5..4497369d0 100755 --- a/src/repository.c +++ b/src/repository.c @@ -1999,11 +1999,9 @@ Repository_list_worktrees(Repository *self, PyObject *args) } PyDoc_STRVAR(Repository_apply__doc__, - "apply(diff or patch)\n" + "apply(diff)\n" "\n" - "Applies the given patch into HEAD.\n" - "\n" - "Applies a diff into HEAD, writing the results into the\n" + "Applies the given Diff object to HEAD, writing the results into the\n" "working directory."); PyObject *