1. 16 1月, 2010 1 次提交
  2. 10 1月, 2010 4 次提交
  3. 03 1月, 2010 2 次提交
  4. 24 12月, 2009 3 次提交
  5. 23 12月, 2009 3 次提交
  6. 22 12月, 2009 1 次提交
  7. 21 12月, 2009 8 次提交
  8. 20 12月, 2009 4 次提交
  9. 18 12月, 2009 2 次提交
  10. 17 12月, 2009 5 次提交
    • J
      Git 1.6.6-rc3 · 94058a90
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      94058a90
    • J
      Merge branch 'maint' to sync with 1.6.5.7 · a1bb8f45
      Junio C Hamano 提交于
      * maint:
        Git 1.6.5.7
        worktree: don't segfault with an absolute pathspec without a work tree
        ignore unknown color configuration
        help.autocorrect: do not run a command if the command given is junk
        Illustrate "filter" attribute with an example
      a1bb8f45
    • J
      Git 1.6.5.7 · 527b9d70
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      527b9d70
    • J
      worktree: don't segfault with an absolute pathspec without a work tree · b3100fd5
      Junio C Hamano 提交于
      If a command is run with an absolute path as a pathspec inside a bare
      repository, e.g. "rev-list HEAD -- /home", the code tried to run strlen()
      on NULL, which is the result of get_git_work_tree(), and segfaulted.  It
      should just fail instead.
      
      Currently the function returns NULL even inside .git/ in a repository
      with a work tree, but that is a separate issue.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b3100fd5
    • J
      ignore unknown color configuration · 8b8e8624
      Jeff King 提交于
      When parsing the config file, if there is a value that is
      syntactically correct but unused, we generally ignore it.
      This lets non-core porcelains store arbitrary information in
      the config file, and it means that configuration files can
      be shared between new and old versions of git (the old
      versions might simply ignore certain configuration).
      
      The one exception to this is color configuration; if we
      encounter a color.{diff,branch,status}.$slot variable, we
      die if it is not one of the recognized slots (presumably as
      a safety valve for user misconfiguration). This behavior
      has existed since 801235c5 (diff --color: use
      $GIT_DIR/config, 2006-06-24), but hasn't yet caused a
      problem. No porcelain has wanted to store extra colors, and
      we once a color area (like color.diff) has been introduced,
      we've never changed the set of color slots.
      
      However, that changed recently with the addition of
      color.diff.func. Now a user with color.diff.func in their
      config can no longer freely switch between v1.6.6 and older
      versions; the old versions will complain about the existence
      of the variable.
      
      This patch loosens the check to match the rest of
      git-config; unknown color slots are simply ignored. This
      doesn't fix this particular problem, as the older version
      (without this patch) is the problem, but it at least
      prevents it from happening again in the future.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8b8e8624
  11. 16 12月, 2009 1 次提交
    • J
      help.autocorrect: do not run a command if the command given is junk · 06500a02
      Johannes Sixt 提交于
      If a given command is not found, then help.c tries to guess which one the
      user could have meant. If help.autocorrect is 0 or unset, then a list of
      suggestions is given as long as the dissimilarity between the given command
      and the candidates is not excessively high. But if help.autocorrect was
      non-zero (i.e., a delay after which the command is run automatically), the
      latter restriction on dissimilarity was not obeyed.
      
      In my case, this happened:
      
       $ git ..daab02
       WARNING: You called a Git command named '..daab02', which does not exist.
       Continuing under the assumption that you meant 'read-tree'
       in 4.0 seconds automatically...
      
      The patch reuses the similarity limit that is also applied when the list of
      suggested commands is printed.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      06500a02
  12. 15 12月, 2009 1 次提交
  13. 13 12月, 2009 1 次提交
  14. 11 12月, 2009 4 次提交