1. 17 10月, 2012 6 次提交
  2. 16 10月, 2012 3 次提交
  3. 15 10月, 2012 1 次提交
  4. 14 10月, 2012 2 次提交
  5. 13 10月, 2012 2 次提交
    • J
      Merge branch 'maint' · fc364c76
      Junio C Hamano 提交于
      * maint:
        gitweb.cgi: fix "comitter_tz" typo in feed
      fc364c76
    • J
      http: fix segfault in handle_curl_result · 188923f0
      Jeff King 提交于
      When we create an http active_request_slot, we can set its
      "results" pointer back to local storage. The http code will
      fill in the details of how the request went, and we can
      access those details even after the slot has been cleaned
      up.
      
      Commit 88097030 (http: factor out http error code handling)
      switched us from accessing our local results struct directly
      to accessing it via the "results" pointer of the slot. That
      means we're accessing the slot after it has been marked as
      finished, defeating the whole purpose of keeping the results
      storage separate.
      
      Most of the time this doesn't matter, as finishing the slot
      does not actually clean up the pointer. However, when using
      curl's multi interface with the dumb-http revision walker,
      we might actually start a new request before handing control
      back to the original caller. In that case, we may reuse the
      slot, zeroing its results pointer, and leading the original
      caller to segfault while looking for its results inside the
      slot.
      
      Instead, we need to pass a pointer to our local results
      storage to the handle_curl_result function, rather than
      relying on the pointer in the slot struct. This matches what
      the original code did before the refactoring (which did not
      use a separate function, and therefore just accessed the
      results struct directly).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      188923f0
  6. 12 10月, 2012 2 次提交
  7. 11 10月, 2012 10 次提交
    • J
      Merge branch 'rr/git-uri-doc' · c5fe2398
      Junio C Hamano 提交于
      * rr/git-uri-doc:
        Git url doc: mark ftp/ftps as read-only and deprecate them
      c5fe2398
    • J
      Merge branch 'bw/cp-a-is-gnuism' · b7804cf2
      Junio C Hamano 提交于
      * bw/cp-a-is-gnuism:
        tests: "cp -a" is a GNUism
      b7804cf2
    • J
      Merge branch 'nd/doc-ignore' · 4321fe0b
      Junio C Hamano 提交于
      * nd/doc-ignore:
        gitignore.txt: suggestions how to get literal # or ! at the beginning
      4321fe0b
    • J
      Merge branch 'jc/doc-long-options' · 01150423
      Junio C Hamano 提交于
      * jc/doc-long-options:
        gitcli: parse-options lets you omit tail of long options
      01150423
    • J
      Sync with maint · 8d47dc7f
      Junio C Hamano 提交于
      * maint:
        attr: a note about the order of .gitattributes lookup
      8d47dc7f
    • J
      Merge git://bogomips.org/git-svn · d5e7c0c2
      Junio C Hamano 提交于
      * git://bogomips.org/git-svn:
        svn test: escape peg revision separator using empty peg rev
        git svn: work around SVN 1.7 mishandling of svn:special changes
      d5e7c0c2
    • J
      svn test: escape peg revision separator using empty peg rev · 44bc5ac7
      Jonathan Nieder 提交于
      This test script uses "svn cp" to create a branch with an @-sign in
      its name:
      
      	svn cp "pr ject/trunk" "pr ject/branches/not-a@{0}reflog"
      
      That sets up for later tests that fetch the branch and check that git
      svn mangles the refname appropriately.
      
      Unfortunately, modern svn versions interpret path arguments with an
      @-sign as an example of path@revision syntax (which pegs a path to a
      particular revision) and truncate the path or error out with message
      "svn: E205000: Syntax error parsing peg revision '{0}reflog'".
      
      When using subversion 1.6.x, escaping the @ sign as %40 avoids trouble
      (see 08fd28bb, 2010-07-08).  Newer versions are stricter:
      
      	$ svn cp "$repo/pr ject/trunk" "$repo/pr ject/branches/not-a%40{reflog}"
      	svn: E205000: Syntax error parsing peg revision '%7B0%7Dreflog'
      
      The recommended method for escaping a literal @ sign in a path passed
      to subversion is to add an empty peg revision at the end of the path
      ("branches/not-a@{0}reflog@").  Do that.
      
      Pre-1.6.12 versions of Subversion probably treat the trailing @ as
      another literal @-sign (svn issue 3651).  Luckily ever since
      v1.8.0-rc0~155^2~7 (t9118: workaround inconsistency between SVN
      versions, 2012-07-28) the test can survive that.
      
      Tested with Debian Subversion 1.6.12dfsg-6 and 1.7.5-1 and r1395837
      of Subversion trunk (1.8.x).
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Tested-by: NMichael J Gruber <git@drmicha.warpmail.net>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      44bc5ac7
    • J
      git svn: work around SVN 1.7 mishandling of svn:special changes · b8c78e2a
      Jonathan Nieder 提交于
      Subversion represents symlinks as ordinary files with content starting
      with "link " and the svn:special property set to "*".  Thus a file can
      switch between being a symlink and a non-symlink simply by toggling
      its svn:special property, and new checkouts will automatically write a
      file of the appropriate type.  Likewise, in subversion 1.6 and older,
      running "svn update" would notice changes in filetype and update the
      working copy appropriately.
      
      Starting in subversion 1.7 (issue 4091), changes to the svn:special
      property trip an assertion instead:
      
      	$ svn up svn-tree
      	Updating 'svn-tree':
      	svn: E235000: In file 'subversion/libsvn_wc/update_editor.c' \
      	line 1583: assertion failed (action == svn_wc_conflict_action_edit \
      	|| action == svn_wc_conflict_action_delete || action == \
      	svn_wc_conflict_action_replace)
      
      Revisions prepared with ordinary svn commands ("svn add" and not "svn
      propset") don't trip this because they represent these filetype
      changes using a replace operation, which is approximately equivalent
      to removal followed by adding a new file and works fine.  Follow suit.
      
      Noticed using t9100.  After this change, git-svn's file-to-symlink
      changes are sent in a format that modern "svn update" can handle and
      tests t9100.11-13 pass again.
      
      [ew: s,git-svn\.perl,perl/Git/SVN/Editor.pm,g]
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      b8c78e2a
    • R
      MALLOC_CHECK: Allow checking to be disabled from config.mak · 1266686b
      Ramsay Jones 提交于
      The malloc checks can be disabled using the TEST_NO_MALLOC_CHECK
      variable, either from the environment or command line of an
      'make test' invocation. In order to allow the malloc checks to be
      disabled from the 'config.mak' file, we add TEST_NO_MALLOC_CHECK
      to the environment using an export directive.
      Signed-off-by: NRamsay Jones <ramsay@ramsay1.demon.co.uk>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1266686b
    • N
      attr: a note about the order of .gitattributes lookup · 40701adb
      Nguyen Thai Ngoc Duy 提交于
      This is the documentation part of
      
      1a9d7e9b (attr.c: read .gitattributes from index as well. - 2007-08-14)
      06f33c17 (Read attributes from the index that is being checked out - 2009-03-13)
      Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      40701adb
  8. 10 10月, 2012 3 次提交
  9. 09 10月, 2012 11 次提交