1. 12 8月, 2010 1 次提交
  2. 09 5月, 2009 1 次提交
    • J
      fix GIT_TRACE segfault with shell-quoted aliases · 27d5438d
      Jeff King 提交于
      The alias argv comes from the split_cmdline function, which
      splits the config text for the alias into an array of
      strings. It returns the number of elements in the array, but
      does not actually put a NULL at the end of the array.
      Later, the trace function tries to print this argv and
      assumes that it has the trailing NULL.
      
      The split_cmdline function is probably at fault, since argv
      lists almost always end with a NULL signal. This patch adds
      one, in addition to the returned count; this doesn't hurt
      the other callers at all, since they were presumably using
      the count already (and will never look at the NULL).
      
      While we're there and using ALLOC_GROW, let's clean up the
      other manual grow.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      27d5438d
  3. 02 5月, 2009 1 次提交
  4. 01 7月, 2008 1 次提交
  5. 15 5月, 2008 1 次提交
  6. 25 2月, 2008 1 次提交