Skip to content

Commit b3558d8

Browse files
committed
Document branch-creation reflog better
1 parent af9b443 commit b3558d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/git2/branch.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ GIT_BEGIN_DECL
4545
*
4646
* @param signature The identity that will used to populate the reflog entry
4747
*
48-
* @param log_message The one line long message to be appended to the reflog
48+
* @param log_message The one line long message to be appended to the reflog.
49+
* If NULL, the default is "Branch: created"; if you want something more
50+
* useful, provide a message.
4951
*
5052
* @return 0, GIT_EINVALIDSPEC or an error code.
5153
* A proper reference is written in the refs/heads namespace

0 commit comments

Comments
 (0)