From a1b07dca7d456b5eb1f32e6f25c4f419752778b3 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Wed, 29 Jan 2014 09:57:20 -0800 Subject: [PATCH] Document branch-creation reflog better --- include/git2/branch.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/git2/branch.h b/include/git2/branch.h index e653077d5..46aef3206 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -45,7 +45,9 @@ GIT_BEGIN_DECL * * @param signature The identity that will used to populate the reflog entry * - * @param log_message The one line long message to be appended to the reflog + * @param log_message The one line long message to be appended to the reflog. + * If NULL, the default is "Branch: created"; if you want something more + * useful, provide a message. * * @return 0, GIT_EINVALIDSPEC or an error code. * A proper reference is written in the refs/heads namespace