1. 07 2月, 2014 2 次提交
    • J
      check-attr: move to the top of working tree when in non-bare repository · cdbf6232
      Junio C Hamano 提交于
      Lasse Makholm noticed that running "git check-attr" from a place
      totally unrelated to $GIT_DIR and $GIT_WORK_TREE does not give
      expected results.  I think it is because the command does not say it
      wants to call setup_work_tree().
      
      We still need to support use cases where only a bare repository is
      involved, so unconditionally requiring a working tree would not work
      well.  Instead, make a call only in a non-bare repository.
      
      We may want to see if we want to do a similar fix in the opposite
      direction to check-ignore.  The command unconditionally requires a
      working tree, but it should be usable in a bare repository just like
      check-attr attempts to be.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cdbf6232
    • J
      t0003: do not chdir the whole test process · c4a7bce1
      Junio C Hamano 提交于
      Moving to some other directory and letting the remainder of the test
      pieces to expect that they start there is a bad practice.  The test
      that contains chdir itself may fail (or by mistake skipped via the
      GIT_SKIP_TESTS mechanism) in which case the remainder may operate on
      files in unexpected places.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c4a7bce1
  2. 28 12月, 2012 13 次提交
  3. 23 12月, 2012 10 次提交
  4. 19 12月, 2012 6 次提交
  5. 17 12月, 2012 4 次提交
  6. 16 12月, 2012 2 次提交
  7. 14 12月, 2012 3 次提交