1. 11 10月, 2012 8 次提交
    • 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
  2. 10 10月, 2012 3 次提交
  3. 09 10月, 2012 10 次提交
  4. 08 10月, 2012 1 次提交
  5. 06 10月, 2012 7 次提交
  6. 05 10月, 2012 3 次提交
  7. 03 10月, 2012 8 次提交
    • J
      Update draft release notes to 1.8.0 · f84667de
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f84667de
    • J
      Merge branch 'nd/grep-reflog' · fa11d7c8
      Junio C Hamano 提交于
      Teach the commands from the "log" family the "--grep-reflog" option
      to limit output by string that appears in the reflog entry when the
      "--walk-reflogs" option is in effect.
      
      * nd/grep-reflog:
        revision: make --grep search in notes too if shown
        log --grep-reflog: reject the option without -g
        revision: add --grep-reflog to filter commits by reflog messages
        grep: prepare for new header field filter
      fa11d7c8
    • J
      Merge branch 'lt/mailinfo-handle-attachment-more-sanely' · 5ce993a8
      Junio C Hamano 提交于
      A patch attached as application/octet-stream (e.g. not text/*) were
      mishandled, not correctly honoring Content-Transfer-Encoding
      (e.g. base64).
      
      * lt/mailinfo-handle-attachment-more-sanely:
        mailinfo: don't require "text" mime type for attachments
      5ce993a8
    • J
      Merge branch 'tu/gc-auto-quiet' · 9ac54d0f
      Junio C Hamano 提交于
      "gc --auto" notified the user that auto-packing has triggered even
      under the "--quiet" option.
      
      * tu/gc-auto-quiet:
        silence git gc --auto --quiet output
      9ac54d0f
    • J
      t1450: the order the objects are checked is undefined · 9dad83be
      Junio C Hamano 提交于
      When a tag T points at an object X that is of a type that is
      different from what the tag records as, fsck should report it as an
      error.
      
      However, depending on the order X and T are checked individually,
      the actual error message can be different.  If X is checked first,
      fsck remembers X's type and then when it checks T, it notices that T
      records X as a wrong type (i.e. the complaint is about a broken tag
      T).  If T is checked first, on the other hand, fsck remembers that we
      need to verify X is of the type tag records, and when it later
      checks X, it notices that X is of a wrong type (i.e. the complaint
      is about a broken object X).
      
      The important thing is that fsck notices such an error and diagnoses
      the issue on object X, but the test was expecting that we happen to
      check objects in the order to make us detect issues with tag T, not
      with object X.  Remove this unwarranted assumption.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9dad83be
    • J
      Merge branch 'maint' · b65f30b6
      Junio C Hamano 提交于
      b65f30b6
    • J
      Start preparing for 1.7.12.3 · 9376c860
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9376c860
    • J
      Merge branch 'rr/maint-submodule-unknown-cmd' into maint · e2c7a5b6
      Junio C Hamano 提交于
      "git submodule frotz" was not diagnosed as "frotz" being an unknown
      subcommand to "git submodule"; the user instead got a complaint that
      "git submodule status" was run with an unknown path "frotz".
      
      * rr/maint-submodule-unknown-cmd:
        submodule: if $command was not matched, don't parse other args
      e2c7a5b6