diff options
Diffstat (limited to 'src/clone.c')
| -rw-r--r-- | src/clone.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clone.c b/src/clone.c index ac6a059dd..7e5d3302e 100644 --- a/src/clone.c +++ b/src/clone.c @@ -127,8 +127,7 @@ static int update_head_to_new_branch( if (!error) error = git_repository_set_head( - repo, git_reference_name(tracking_branch), - reflog_message); + repo, git_reference_name(tracking_branch)); git_reference_free(tracking_branch); @@ -169,7 +168,7 @@ static int update_head_to_remote( error = git_remote_default_branch(&branch, remote); if (error == GIT_ENOTFOUND) { error = git_repository_set_head_detached( - repo, remote_head_id, reflog_message); + repo, remote_head_id); goto cleanup; } |
