Skip to content

Commit

Permalink
Clarify Repository.apply doc string
Browse files Browse the repository at this point in the history
Issue #1037
  • Loading branch information
jdavid committed Oct 3, 2020
1 parent 758a558 commit 9d7e512
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down

0 comments on commit 9d7e512

Please sign in to comment.