1. 22 1月, 2011 1 次提交
    • J
      Subject: setup: officially support --work-tree without --git-dir · 4868b2ea
      Jonathan Nieder 提交于
      The original intention of --work-tree was to allow people to work in a
      subdirectory of their working tree that does not have an embedded .git
      directory.  Because their working tree, which their $cwd was in, did not
      have an embedded .git, they needed to use $GIT_DIR to specify where it is,
      and because this meant there was no way to discover where the root level
      of the working tree was, so we needed to add $GIT_WORK_TREE to tell git
      where it was.
      
      However, this facility has long been (mis)used by people's scripts to
      start git from a working tree _with_ an embedded .git directory, let git
      find .git directory, and then pretend as if an unrelated directory were
      the associated working tree of the .git directory found by the discovery
      process.  It happens to work in simple cases, and is not worth causing
      "regression" to these scripts.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4868b2ea
  2. 20 1月, 2011 2 次提交
  3. 12 1月, 2011 2 次提交
  4. 09 1月, 2011 2 次提交
  5. 08 1月, 2011 2 次提交
  6. 07 1月, 2011 3 次提交
  7. 06 1月, 2011 7 次提交
  8. 05 1月, 2011 6 次提交
  9. 30 12月, 2010 1 次提交
  10. 29 12月, 2010 12 次提交
  11. 28 12月, 2010 1 次提交
  12. 27 12月, 2010 1 次提交