]> git.corax.cc Git - toolbox/commit
include/git: Rename functions operating on branches to git_branch_*
authorMatthias Kruk <m@m10k.eu>
Fri, 7 Jan 2022 13:20:55 +0000 (22:20 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 7 Jan 2022 13:23:00 +0000 (22:23 +0900)
commit84e72eeebd0ad9483b6d2731e68067c6ff45e64e
treefcb413ced1eabd939f2069255b7b0d3f529e8d35
parentaa548e774af63b5b1c1662ae94775a2266274559
include/git: Rename functions operating on branches to git_branch_*

Functions that operate on branches should be named accordingly to
make their purpose clear.

This commit renames the following functions.
 * git_current_branch() -> git_branch_get_current()
 * git_checkout()       -> git_branch_checkout()
include/git.sh