]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'sg/name-rev-wo-recursion'
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Dec 2019 19:21:58 +0000 (11:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Dec 2019 19:21:58 +0000 (11:21 -0800)
commitf3c520e17fa8ed479701e75fe190b37e5e362419
tree05cdd4e47a3d4801aed29d6a577b18f68b85db2f
parent6514ad40a1a3cf80b2c25e3318dbf0252599fb8d
parent2866fd284c57d729d486ed93a7fc118f78e765cb
Merge branch 'sg/name-rev-wo-recursion'

Redo "git name-rev" to avoid recursive calls.

* sg/name-rev-wo-recursion:
  name-rev: cleanup name_ref()
  name-rev: eliminate recursion in name_rev()
  name-rev: use 'name->tip_name' instead of 'tip_name'
  name-rev: drop name_rev()'s 'generation' and 'distance' parameters
  name-rev: restructure creating/updating 'struct rev_name' instances
  name-rev: restructure parsing commits and applying date cutoff
  name-rev: pull out deref handling from the recursion
  name-rev: extract creating/updating a 'struct name_rev' into a helper
  t6120: add a test to cover inner conditions in 'git name-rev's name_rev()
  name-rev: use sizeof(*ptr) instead of sizeof(type) in allocation
  name-rev: avoid unnecessary cast in name_ref()
  name-rev: use strbuf_strip_suffix() in get_rev_name()
  t6120-describe: modernize the 'check_describe' helper
  t6120-describe: correct test repo history graph in comment
builtin/name-rev.c