branch: improve documentation and naming of create_branch() parameters
commitf6cea74de63c2926a15b711bec09ed3ab34c2c1e
authorKaartic Sivaraam <kaartic.sivaraam@gmail.com>
Sat, 18 Nov 2017 17:26:45 +0000 (18 22:56 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Dec 2017 23:06:38 +0000 (7 15:06 -0800)
tree3dbb5c414a7269b3242cb003a41d0dd964e79ec1
parent5f9953d2c365bffed6f9ee0c6966556bd4d7e2f4
branch: improve documentation and naming of create_branch() parameters

The documentation for 'create_branch()' was incomplete as it didn't say
what certain parameters were used for. Further a parameter name wasn't
very communicative.

So, add missing documentation for the sake of completeness and easy
reference. Also, rename the concerned parameter to make its name more
communicative.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
branch.h