1. 24 4月, 2007 1 次提交
  2. 23 4月, 2007 1 次提交
    • J
      dir.c(common_prefix): Fix two bugs · c7f34c18
      Johannes Schindelin 提交于
      The function common_prefix() is used to find the common subdirectory of
      a couple of pathnames. When checking if the next pathname matches up with
      the prefix, it incorrectly checked the whole path, not just the prefix
      (including the slash). Thus, the expensive part of the loop was executed
      always.
      
      The other bug is more serious: if the first and the last pathname in the
      list have a longer common prefix than the common prefix for _all_ pathnames
      in the list, the longer one would be chosen. This bug was probably hidden
      by the fact that bash's wildcard expansion sorts the results, and the code
      just so happens to work with sorted input.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c7f34c18
  3. 22 4月, 2007 2 次提交
  4. 21 4月, 2007 1 次提交
  5. 19 4月, 2007 9 次提交
  6. 18 4月, 2007 3 次提交
  7. 17 4月, 2007 2 次提交
  8. 16 4月, 2007 14 次提交
  9. 15 4月, 2007 3 次提交
  10. 14 4月, 2007 4 次提交