X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-for-each-ref.c;h=5cbb4b081d63b52393a5f85716ba6961a18fa59e;hb=78360b576acb0ee47c90552cb3f976a3c6ba4d6a;hp=e46b7adc9719e147536398e8e365d6d3e65a4ba7;hpb=2b5189e51855312a91dd23b5e7311c48944bc382;p=git.git diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c index e46b7adc9..5cbb4b081 100644 --- a/builtin-for-each-ref.c +++ b/builtin-for-each-ref.c @@ -943,7 +943,6 @@ static int opt_parse_sort(const struct option *opt, const char *arg, int unset) return -1; *sort_tail = s = xcalloc(1, sizeof(*s)); - sort_tail = &s->next; if (*arg == '-') { s->reverse = 1;