Browse Source

In dulwich.porcelain docstring, list functions by their Python identifiers

Previously, some of them used the Python identifiers (such as "remote_add",
using underscores), and some used the git equivalent (such as "ls-tree",
using hyphens).
Marnanel Thurman 2 months ago
parent
commit
59dd74a89f
1 changed files with 12 additions and 12 deletions
  1. 12 12
      dulwich/porcelain.py

+ 12 - 12
dulwich/porcelain.py

@@ -25,37 +25,37 @@ Currently implemented:
  * archive
  * archive
  * add
  * add
  * branch{_create,_delete,_list}
  * branch{_create,_delete,_list}
- * check-ignore
+ * check_ignore
  * checkout_branch
  * checkout_branch
  * clone
  * clone
  * cone mode{_init, _set, _add}
  * cone mode{_init, _set, _add}
  * commit
  * commit
- * commit-tree
+ * commit_tree
  * daemon
  * daemon
  * describe
  * describe
- * diff-tree
+ * diff_tree
  * fetch
  * fetch
- * for-each-ref
+ * for_each_ref
  * init
  * init
- * ls-files
- * ls-remote
- * ls-tree
+ * ls_files
+ * ls_remote
+ * ls_tree
  * pull
  * pull
  * push
  * push
  * rm
  * rm
  * remote{_add}
  * remote{_add}
- * receive-pack
+ * receive_pack
  * reset
  * reset
  * sparse_checkout
  * sparse_checkout
  * submodule_add
  * submodule_add
  * submodule_init
  * submodule_init
  * submodule_list
  * submodule_list
- * rev-list
+ * rev_list
  * tag{_create,_delete,_list}
  * tag{_create,_delete,_list}
- * upload-pack
- * update-server-info
+ * upload_pack
+ * update_server_info
  * status
  * status
- * symbolic-ref
+ * symbolic_ref
 
 
 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.