update-ref: fix type of update_flags variable to match its usage

The ref_transaction_*() family of functions expect a flags parameter
which is of type unsigned int.  Make the update_flags variable, which
is passed as that parameter, be of the same type.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2018-09-05 10:25:49 -07:00 committed by Junio C Hamano
parent 1d4361b0f3
commit e4c34855a2

View file

@ -14,7 +14,7 @@ static const char * const git_update_ref_usage[] = {
};
static char line_termination = '\n';
static int update_flags;
static unsigned int update_flags;
static unsigned create_reflog_flag;
static const char *msg;