1. 30 9月, 2012 14 次提交
  2. 28 9月, 2012 3 次提交
  3. 26 9月, 2012 13 次提交
    • R
      submodule: if $command was not matched, don't parse other args · af9c9f97
      Ramkumar Ramachandra 提交于
      "git submodule" command DWIMs the command line and assumes a
      unspecified action word for 'status' action.  This is a UI mistake
      that leads to a confusing behaviour.  A mistyped command name is
      instead treated as a request for 'status' of the submodule with that
      name, e.g.
      
          $ git submodule show
          error: pathspec 'show' did not match any file(s) known to git.
          Did you forget to 'git add'?
      
      Stop DWIMming an unknown or mistyped subcommand name as pathspec
      given to unspelled "status" subcommand.  "git submodule" without any
      argument is still interpreted as "git submodule status", but its
      value is questionable.
      
      Adjust t7400 to match, and stop advertising the default subcommand
      being 'status' which does not help much in practice, other than
      promoting laziness and confusion.
      Signed-off-by: NRamkumar Ramachandra <artagnon@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      af9c9f97
    • J
      Update draft release notes to 1.8.0 · 652398a8
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      652398a8
    • J
      Merge branch 'rr/test-make-sure-we-have-git' · 86bdfa39
      Junio C Hamano 提交于
      Only the first test t0000 in the test suite made sure we have built
      Git to be tested; move the check to test-lib so that it applies to
      all tests equally.
      
      * rr/test-make-sure-we-have-git:
        t/test-lib: make sure Git has already been built
      86bdfa39
    • J
      Merge branch 'js/hp-nonstop' · cbea001a
      Junio C Hamano 提交于
      Port to HP NonStop aka Tandem.
      
      * js/hp-nonstop:
        Port to HP NonStop
      cbea001a
    • J
      Merge branch 'js/poll-emu' · d782797a
      Junio C Hamano 提交于
      * js/poll-emu:
        make poll() work on platforms that can't recv() on a non-socket
        poll() exits too early with EFAULT if 1st arg is NULL
        fix some win32 specific dependencies in poll.c
        make poll available for other platforms lacking it
      d782797a
    • J
      Merge branch 'ep/malloc-check-perturb' · 0ec6aa56
      Junio C Hamano 提交于
      Run our test scripts with MALLOC_CHECK_ and MALLOC_PERTURB_, the
      built-in memory access checking facility GNU libc has.
      
      * ep/malloc-check-perturb:
        MALLOC_CHECK: various clean-ups
        Add MALLOC_CHECK_ and MALLOC_PERTURB_ libc env to the test suite for detecting heap corruption
      0ec6aa56
    • J
      Merge branch 'aj/xfuncname-ada' · c4eed868
      Junio C Hamano 提交于
      * aj/xfuncname-ada:
        Add userdiff patterns for Ada
      c4eed868
    • J
      Merge branch 'jc/maint-mailinfo-mime-attr' · b1bb02de
      Junio C Hamano 提交于
      When "git am" is fed an input that has multiple "Content-type: ..."
      header, it did not grok charset= attribute correctly.
      
      * jc/maint-mailinfo-mime-attr:
        mailinfo: do not concatenate charset= attribute values from mime headers
      b1bb02de
    • J
      Merge branch 'po/maint-docs' · ff91dbbf
      Junio C Hamano 提交于
      Various documentation fixups.
      
      * po/maint-docs:
        Doc branch: show -vv option and alternative
        Doc clean: add See Also link
        Doc add: link gitignore
        Doc: separate gitignore pattern sources
        Doc: shallow clone deepens _to_ new depth
      ff91dbbf
    • J
      Merge branch 'db/doc-custom-xmlto' · 8ccd4b68
      Junio C Hamano 提交于
      * db/doc-custom-xmlto:
        Documentation/Makefile: Allow custom XMLTO binary
      8ccd4b68
    • J
      Merge branch 'maint' · 8e609b27
      Junio C Hamano 提交于
      * maint:
        Revert "completion: fix shell expansion of items"
      8e609b27
    • R
      test-lib: use $SHELL_PATH, not $SHELL · 4cde519f
      Ramkumar Ramachandra 提交于
      The codepath for handling "--tee" ends up relaunching the test
      script under a shell, and that one has to be a Bourne.  But we
      incorrectly used $SHELL, which could be a non-Bourne (e.g. zsh or
      csh); we have the Makefile variable $SHELL_PATH for exactly that,
      so use it instead.
      Signed-off-by: NRamkumar Ramachandra <artagnon@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4cde519f
    • J
      Revert "completion: fix shell expansion of items" · 666ca59a
      Jeff King 提交于
      This reverts commit 25ae7cfd.
      
      That patch does fix expansion of weird variables in some
      simple tests, but it also seems to break other things, like
      expansion of refs by "git checkout".
      
      While we're sorting out the correct solution, we are much
      better with the original bug (people with metacharacters in
      their completions occasionally see an error message) than
      the current bug (ref completion does not work at all).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      666ca59a
  4. 25 9月, 2012 6 次提交
    • J
      Sync with maint · b5d156c3
      Junio C Hamano 提交于
      b5d156c3
    • J
      Start preparation for 1.7.12.2 · 1a002c73
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1a002c73
    • J
      Merge branch 'jc/maint-blame-no-such-path' into maint · 140011d8
      Junio C Hamano 提交于
      Even during a conflicted merge, "git blame $path" always meant to
      blame uncommitted changes to the "working tree" version; make it
      more useful by showing cleanly merged parts as coming from the other
      branch that is being merged.
      
      This incidentally fixes an unrelated problem on a case insensitive
      filesystem, where "git blame MAKEFILE" run in a history that has
      "Makefile" but not "MAKEFILE" did not say "No such file MAKEFILE in
      HEAD" but pretended as if "MAKEFILE" was a newly added file.
      
      * jc/maint-blame-no-such-path:
        blame: allow "blame file" in the middle of a conflicted merge
        blame $path: avoid getting fooled by case insensitive filesystems
      140011d8
    • J
      Merge branch 'dj/fetch-all-tags' into maint · 8144049d
      Junio C Hamano 提交于
      "git fetch --all", when passed "--no-tags", did not honor the
      "--no-tags" option while fetching from individual remotes (the same
      issue existed with "--tags", but combination "--all --tags" makes
      much less sense than "--all --no-tags").
      
      * dj/fetch-all-tags:
        fetch --all: pass --tags/--no-tags through to each remote
        submodule: use argv_array instead of hand-building arrays
        fetch: use argv_array instead of hand-building arrays
        argv-array: fix bogus cast when freeing array
        argv-array: add pop function
      8144049d
    • J
      Improve the description of GIT_PS1_SHOWUPSTREAM · f9db1921
      Jonathan "Duke" Leto 提交于
      Describe what '=' means in the output of __git_ps1 when using
      GIT_PS1_SHOWUPSTREAM, which was not previously described.
      Signed-off-by: NJonathan "Duke" Leto <jonathan@leto.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f9db1921
    • R
      archive-zip: write extended timestamp · 227bf598
      René Scharfe 提交于
      File modification times in ZIP files are encoded in DOS format: local
      time with a granularity of two seconds.  Add an extra field to all
      archive entries to also record the mtime in Unix' fashion, as UTC with
      a granularity of one second.
      
      This has the desirable side-effect of convincing Info-ZIP unzip 6.00
      to respect general purpose flag 11, which is used to indicate that a
      file name is encoded in UTF-8.  Any extra field would do, actually,
      but the extended timestamp is a reasonably small one (22 bytes per
      entry).  Archives created by Info-ZIP zip 3.0 contain it, too (but
      with ctime and atime as well).
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      227bf598
  5. 22 9月, 2012 3 次提交
    • J
      Merge branch 'mh/fetch-filter-refs' · 16eed7c9
      Junio C Hamano 提交于
      Finishing touch to update documentation of string-list to make sure
      the earlier rewrite of ref-list match logic that depends on its sort
      order will not get broken.
      
      * mh/fetch-filter-refs:
        string_list API: document what "sorted" means
      16eed7c9
    • J
      Merge branch 'jc/maint-log-grep-all-match-1' · 36d1f3d1
      Junio C Hamano 提交于
      A finishing touch to make two symbols that were meant to be file-scope
      static really so.
      
      * jc/maint-log-grep-all-match-1:
        grep.c: make two symbols really file-scope static this time
      36d1f3d1
    • J
      remote-curl: let users turn off smart http · 02572c2e
      Jeff King 提交于
      Usually there is no need for users to specify whether an
      http remote is smart or dumb; the protocol is designed so
      that a single initial request is made, and the client can
      determine the server's capability from the response.
      
      However, some misconfigured dumb-only servers may not like
      the initial request by a smart client, as it contains a
      query string. Until recently, commit 703e6e76 worked around
      this by making a second request. However, that commit was
      recently reverted due to its side effect of masking the
      initial request's error code.
      
      Since git has had that workaround for several years, we
      don't know exactly how many such misconfigured servers are
      out there. The reversion of 703e6e76 assumes they are rare
      enough not to worry about. Still, that reversion leaves
      somebody who does run into such a server with no escape
      hatch at all. Let's give them an environment variable they
      can tweak to perform the "dumb" request.
      
      This is intentionally not a documented interface. It's
      overly simple and is really there for debugging in case
      somebody does complain about git not working with their
      server. A real user-facing interface would entail a
      per-remote or per-URL config variable.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      02572c2e
  6. 21 9月, 2012 1 次提交
    • J
      Merge branch 'maint' · f1c62ee9
      Junio C Hamano 提交于
      * maint:
        Documentation: Document signature showing options
        completion: fix shell expansion of items
      f1c62ee9