Commit 44484662 authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'maint'

* maint:
  for-each-ref: remove unused variable
parents 53f3478d b9cf14d4
......@@ -92,7 +92,7 @@ static struct {
static const char **used_atom;
static cmp_type *used_atom_type;
static int used_atom_cnt, sort_atom_limit, need_tagged, need_symref;
static int used_atom_cnt, need_tagged, need_symref;
static int need_color_reset_at_eol;
......@@ -1105,7 +1105,6 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
if (!sort)
sort = default_sort();
sort_atom_limit = used_atom_cnt;
/* for warn_ambiguous_refs */
git_config(git_default_config, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment