1. 14 6月, 2009 4 次提交
  2. 12 6月, 2009 3 次提交
  3. 09 6月, 2009 3 次提交
  4. 07 6月, 2009 2 次提交
    • T
      Documentation: refer to gitworkflows(7) from tutorial and git(1) · 801a011d
      Thomas Rast 提交于
      Add references to the gitworkflows(7) manpage added in f948dd89
      (Documentation: add manpage about workflows, 2008-10-19) to both
      gittutorial(1) and git(1), so that new users might actually discover
      and read it.
      
      Noticed by Randal L. Schwartz.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      801a011d
    • S
      daemon: Strictly parse the "extra arg" part of the command · 73bb33a9
      Shawn O. Pearce 提交于
      Since 1.4.4.5 (49ba83fb "Add virtualization support to git-daemon")
      git daemon enters an infinite loop and never terminates if a client
      hides any extra arguments in the initial request line which is not
      exactly "\0host=blah\0".
      
      Since that change, a client must never insert additional extra
      arguments, or attempt to use any argument other than "host=", as
      any daemon will get stuck parsing the request line and will never
      complete the request.
      
      Since the client can't tell if the daemon is patched or not, it
      is not possible to know if additional extra args might actually be
      able to be safely requested.
      
      If we ever need to extend the git daemon protocol to support a new
      feature, we may have to do something like this to the exchange:
      
        # If both support git:// v2
        #
        C: 000cgit://v2
        S: 0010ok host user
        C: 0018host git.kernel.org
        C: 0027git-upload-pack /pub/linux-2.6.git
        S: ...git-upload-pack header...
      
        # If client supports git:// v2, server does not:
        #
        C: 000cgit://v2
        S: <EOF>
      
        C: 003bgit-upload-pack /pub/linux-2.6.git\0host=git.kernel.org\0
        S: ...git-upload-pack header...
      
      This requires the client to create two TCP connections to talk to
      an older git daemon, however all daemons since the introduction of
      daemon.c will safely reject the unknown "git://v2" command request,
      so the client can quite easily determine the server supports an
      older protocol.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      73bb33a9
  5. 04 6月, 2009 2 次提交
  6. 03 6月, 2009 2 次提交
    • J
      blame: correctly handle a path that used to be a directory · a9b2d424
      Junio C Hamano 提交于
      When trying to see if the same path exists in the parent, we ran
      "diff-tree" with pathspec set to the path we are interested in with the
      parent, and expect either to have exactly one resulting filepair (either
      "changed from the parent", "created when there was none") or nothing (when
      there is no change from the parent).
      
      If the path used to be a directory, however, we will also see unbounded
      number of entries that talk about the files that used to exist underneath
      the directory in question.  Correctly pick only the entry that describes
      the path we are interested in in such a case (namely, the creation of the
      path as a regular file).
      
      Noticed by Ben Willard.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a9b2d424
    • T
      add -i: do not dump patch during application · 8dc3a47c
      Thomas Rast 提交于
      Remove a debugging print that snuck in at 7a26e653 (Revert
      "git-add--interactive: remove hunk coalescing", 2009-05-16).
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8dc3a47c
  7. 02 6月, 2009 7 次提交
  8. 29 5月, 2009 1 次提交
  9. 28 5月, 2009 1 次提交
  10. 26 5月, 2009 15 次提交