1. 27 11月, 2017 5 次提交
  2. 26 11月, 2017 1 次提交
  3. 21 11月, 2017 9 次提交
  4. 15 11月, 2017 24 次提交
  5. 13 11月, 2017 1 次提交
    • J
      link_alt_odb_entries: make empty input a noop · f28e3668
      Jeff King 提交于
      If an empty string is passed to link_alt_odb_entries(), our
      loop finds no entries and we link nothing. But we still do
      some preparatory work to normalize the object directory
      path, even though we'll never look at the result. This
      triggers in basically every git process, since we feed the
      usually-empty ALTERNATE_DB_ENVIRONMENT to the function.
      
      Let's detect early that there's nothing to do and return.
      While we're at it, let's treat NULL the same as an empty
      string as a favor to our callers. That saves
      prepare_alt_odb() from having to cover this case.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f28e3668