Skip to content

Commit 50df0ca

Browse files
authored
Document dulwich.porcelain functions by their Python identi… (#1520)
Document functions in dulwich.porcelain by their Python identifiers (such as "remote_add", using underscores), rather than the identifiers of the git commands they mimic (such as "ls-tree", using hyphens). Previously, some used one and some used the other.
2 parents 50e4f96 + 59dd74a commit 50df0ca

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

dulwich/porcelain.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,37 @@
2525
* archive
2626
* add
2727
* branch{_create,_delete,_list}
28-
* check-ignore
28+
* check_ignore
2929
* checkout_branch
3030
* clone
3131
* cone mode{_init, _set, _add}
3232
* commit
33-
* commit-tree
33+
* commit_tree
3434
* daemon
3535
* describe
36-
* diff-tree
36+
* diff_tree
3737
* fetch
38-
* for-each-ref
38+
* for_each_ref
3939
* init
40-
* ls-files
41-
* ls-remote
42-
* ls-tree
40+
* ls_files
41+
* ls_remote
42+
* ls_tree
4343
* pull
4444
* push
4545
* rm
4646
* remote{_add}
47-
* receive-pack
47+
* receive_pack
4848
* reset
4949
* sparse_checkout
5050
* submodule_add
5151
* submodule_init
5252
* submodule_list
53-
* rev-list
53+
* rev_list
5454
* tag{_create,_delete,_list}
55-
* upload-pack
56-
* update-server-info
55+
* upload_pack
56+
* update_server_info
5757
* status
58-
* symbolic-ref
58+
* symbolic_ref
5959
6060
These functions are meant to behave similarly to the git subcommands.
6161
Differences in behaviour are considered bugs.

0 commit comments

Comments
 (0)