1. 21 9月, 2013 2 次提交
    • J
      Merge branch 'jx/branch-vv-always-compare-with-upstream' · 2e6e3e82
      Junio C Hamano 提交于
      "git branch -v -v" (and "git status") did not distinguish among a
      branch that does not build on any other branch, a branch that is in
      sync with the branch it builds on, and a branch that is configured
      to build on some other branch that no longer exists.
      
      * jx/branch-vv-always-compare-with-upstream:
        status: always show tracking branch even no change
        branch: report invalid tracking branch as gone
      2e6e3e82
    • J
      Merge branch 'nd/fetch-into-shallow' · 238504b0
      Junio C Hamano 提交于
      When there is no sufficient overlap between old and new history
      during a fetch into a shallow repository, we unnecessarily sent
      objects the sending side knows the receiving end has.
      
      * nd/fetch-into-shallow:
        Add testcase for needless objects during a shallow fetch
        list-objects: mark more commits as edges in mark_edges_uninteresting
        list-objects: reduce one argument in mark_edges_uninteresting
        upload-pack: delegate rev walking in shallow fetch to pack-objects
        shallow: add setup_temporary_shallow()
        shallow: only add shallow graft points to new shallow file
        move setup_alternate_shallow and write_shallow_commits to shallow.c
      238504b0
  2. 20 9月, 2013 2 次提交
  3. 19 9月, 2013 22 次提交
    • J
      Merge branch 'maint' · eeaee045
      Junio C Hamano 提交于
      * maint:
        Start preparing for 1.8.4.1
      eeaee045
    • J
      Start preparing for 1.8.4.1 · a0d3f109
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a0d3f109
    • J
      Merge branch 'bc/completion-for-bash-3.0' into maint · ebb9d196
      Junio C Hamano 提交于
      Some people still use rather old versions of bash, which cannot grok
      some constructs like 'printf -v varname' the prompt and completion
      code started to use recently.
      
      * bc/completion-for-bash-3.0:
        contrib/git-prompt.sh: handle missing 'printf -v' more gracefully
        t9902-completion.sh: old Bash still does not support array+=('') notation
        git-completion.bash: use correct Bash/Zsh array length syntax
      ebb9d196
    • J
      Merge branch 'mm/no-shell-escape-in-die-message' into maint · b25b9d59
      Junio C Hamano 提交于
      Fixes a minor bug in "git rebase -i" (there could be others, as the
      root cause is pretty generic) where the code feeds a random, data
      dependeant string to 'echo' and expects it to come out literally.
      
      * mm/no-shell-escape-in-die-message:
        die_with_status: use "printf '%s\n'", not "echo"
      b25b9d59
    • J
      Merge branch 'jl/some-submodule-config-are-not-boolean' into maint · dd42145b
      Junio C Hamano 提交于
      * jl/some-submodule-config-are-not-boolean:
        avoid segfault on submodule.*.path set to an empty "true"
      dd42145b
    • J
      Merge branch 'tr/log-full-diff-keep-true-parents' into maint · 6930cd10
      Junio C Hamano 提交于
      Output from "git log --full-diff -- <pathspec>" looked strange,
      because comparison was done with the previous ancestor that touched
      the specified <pathspec>, causing the patches for paths outside the
      pathspec to show more than the single commit has changed.
      
      * tr/log-full-diff-keep-true-parents:
        log: use true parents for diff when walking reflogs
        log: use true parents for diff even when rewriting
      6930cd10
    • J
      Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch' into maint · 1e93c28f
      Junio C Hamano 提交于
      The auto-tag-following code in "git fetch" tries to reuse the same
      transport twice when the serving end does not cooperate and does
      not give tags that point to commits that are asked for as part of
      the primary transfer.  Unfortunately, Git-aware transport helper
      interface is not designed to be used more than once, hence this
      does not work over smart-http transfer.
      
      * jc/transport-do-not-use-connect-twice-in-fetch:
        builtin/fetch.c: Fix a sparse warning
        fetch: work around "transport-take-over" hack
        fetch: refactor code that fetches leftover tags
        fetch: refactor code that prepares a transport
        fetch: rename file-scope global "transport" to "gtransport"
        t5802: add test for connect helper
      1e93c28f
    • J
      Merge branch 'sp/clip-read-write-to-8mb' into maint · 4b510c38
      Junio C Hamano 提交于
      Send a large request to read(2)/write(2) as a smaller but still
      reasonably large chunks, which would improve the latency when the
      operation needs to be killed and incidentally works around broken
      64-bit systems that cannot take a 2GB write or read in one go.
      
      * sp/clip-read-write-to-8mb:
        Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"
        xread, xwrite: limit size of IO to 8MB
      4b510c38
    • J
      Merge branch 'jk/mailmap-incomplete-line' into maint · 19230ab8
      Junio C Hamano 提交于
      * jk/mailmap-incomplete-line:
        mailmap: handle mailmap blobs without trailing newlines
      19230ab8
    • J
    • J
      Merge branch 'jc/url-match' · 34e8d998
      Junio C Hamano 提交于
      While normalizing a URL, we forgot that the buffer that holds it
      could be relocated when it grows, which was a brown-paper-bag bug
      that can lead to a crash introduced on 'master' post 1.8.4 release.
      
      * jc/url-match:
        urlmatch.c: recompute pointer after append_normalized_escapes
      34e8d998
    • J
      Merge branch 'jc/cvsserver-perm-bit-fix' · 2f46b539
      Junio C Hamano 提交于
      "git cvsserver" computed the permission mode bits incorrectly for
      executable files.
      
      * jc/cvsserver-perm-bit-fix:
        cvsserver: pick up the right mode bits
      2f46b539
    • J
      Merge branch 'bc/send-email-ssl-die-message-fix' · 139189b9
      Junio C Hamano 提交于
      When send-email comes up with an error message to die with upon
      failure to start an SSL session, it tried to read the error string
      from a wrong place.
      
      * bc/send-email-ssl-die-message-fix:
        send-email: don't call methods on undefined values
      139189b9
    • J
      Merge branch 'uh/git-svn-serf-fix' · 70c87a98
      Junio C Hamano 提交于
      "git-svn" used with SVN 1.8.0 when talking over https:// connection
      dumped core due to a bug in the serf library that SVN uses.  Work
      it around on our side, even though the SVN side is being fixed.
      
      * uh/git-svn-serf-fix:
        git-svn: fix termination issues for remote svn connections
      70c87a98
    • J
      Merge branch 'fc/contrib-bzr-hg-fixes' · 751e2b37
      Junio C Hamano 提交于
      * fc/contrib-bzr-hg-fixes:
        contrib/remote-helpers: quote variable references in redirection targets
        contrib/remote-helpers: style updates for test scripts
        remote-hg: use notes to keep track of Hg revisions
        remote-helpers: cleanup more global variables
        remote-helpers: trivial style fixes
        remote-hg: improve basic test
        remote-hg: add missing &&s in the test
        remote-hg: fix test
        remote-bzr: make bzr branches configurable per-repo
        remote-bzr: fix export of utf-8 authors
      751e2b37
    • J
      Merge branch 'js/add-i-mingw' · ac4d2955
      Junio C Hamano 提交于
      The implementation of "add -i" has a crippling code to work around
      ActiveState Perl limitation but it by mistake also triggered on Git
      for Windows where MSYS perl is used.
      
      * js/add-i-mingw:
        add--interactive: fix external command invocation on Windows
      ac4d2955
    • J
      Merge branch 'ks/p4-view-spec' · 34022ba2
      Junio C Hamano 提交于
      * ks/p4-view-spec:
        git p4: implement view spec wildcards with "p4 where"
        git p4 test: sanitize P4CHARSET
      34022ba2
    • J
      Merge branch 'jk/duplicate-objects-in-packs' · 6c345600
      Junio C Hamano 提交于
      A packfile that stores the same object more than once is broken and
      will be rejected by "git index-pack" that is run when receiving data
      over the wire.
      
      * jk/duplicate-objects-in-packs:
        t5308: check that index-pack --strict detects duplicate objects
        test index-pack on packs with recoverable delta cycles
        add tests for indexing packs with delta cycles
        sha1-lookup: handle duplicate keys with GIT_USE_LOOKUP
        test-sha1: add a binary output mode
      6c345600
    • J
      Merge branch 'nd/git-dir-pointing-at-gitfile' · 01e0fa2b
      Junio C Hamano 提交于
      We made sure that we notice the user-supplied GIT_DIR is actually a
      gitfile, but did not do the same when the default ".git" is a gitfile.
      
      * nd/git-dir-pointing-at-gitfile:
        Make setup_git_env() resolve .git file when $GIT_DIR is not specified
      01e0fa2b
    • J
      Merge branch 'jk/pager-bypass-cat-for-default-pager' · d5ca1ab3
      Junio C Hamano 提交于
      If a build-time fallback is set to "cat" instead of "less", we
      should apply the same "no subprocess or pipe" optimization as we
      apply to user-supplied GIT_PAGER=cat.
      
      * jk/pager-bypass-cat-for-default-pager:
        pager: turn on "cat" optimization for DEFAULT_PAGER
      d5ca1ab3
    • J
      Merge branch 'fc/t3200-fixes' · 18fe5003
      Junio C Hamano 提交于
      * fc/t3200-fixes:
        t: branch: fix broken && chains
        t: branch: fix typo
        t: branch: trivial style fix
      18fe5003
    • J
      Merge branch 'fc/rev-parse-test-updates' · f5e4b82c
      Junio C Hamano 提交于
      Modernize tests.
      
      * fc/rev-parse-test-updates:
        rev-parse test: use standard test functions for setup
        rev-parse test: use test_cmp instead of "test" builtin
        rev-parse test: use test_must_fail, not "if <command>; then false; fi"
        rev-parse test: modernize quoting and whitespace
      f5e4b82c
  4. 18 9月, 2013 14 次提交
    • J
    • J
      Merge branch 'jk/remove-remote-helpers-in-python' · f6070c39
      Junio C Hamano 提交于
      Remove now disused remote-helpers framework for helpers written in
      Python.
      
      * jk/remove-remote-helpers-in-python:
        git_remote_helpers: remove little used Python library
      f6070c39
    • J
      Merge branch 'ss/doclinks' · 287c0fee
      Junio C Hamano 提交于
      When we converted many documents that were traditionally text-only
      to be formatted to AsciiDoc, we did not update links that point at
      them to refer to the formatted HTML files.
      
      * ss/doclinks:
        Documentation: make AsciiDoc links always point to HTML files
      287c0fee
    • J
      Merge branch 'rh/ishes-doc' · 89dde788
      Junio C Hamano 提交于
      We liberally use "committish" and "commit-ish" (and "treeish" and
      "tree-ish"); as these are non-words, let's unify these terms to
      their dashed form.  More importantly, clarify the documentation on
      object peeling using these terms.
      
      * rh/ishes-doc:
        glossary: fix and clarify the definition of 'ref'
        revisions.txt: fix and clarify <rev>^{<type>}
        glossary: more precise definition of tree-ish (a.k.a. treeish)
        use 'commit-ish' instead of 'committish'
        use 'tree-ish' instead of 'treeish'
        glossary: define commit-ish (a.k.a. committish)
        glossary: mention 'treeish' as an alternative to 'tree-ish'
      89dde788
    • J
      Merge branch 'dw/diff-no-index-doc' · cd8c891b
      Junio C Hamano 提交于
      When the user types "git diff" outside a working tree, thinking he
      is inside one, the current error message that is a single-liner
      "usage: git diff --no-index <path> <path>" may not be sufficient to
      make him realize the mistake. Add "Not a git repository" to the
      error message when we fell into the "--no-index" mode without an
      explicit command line option to instruct us to do so.
      
      * dw/diff-no-index-doc:
        diff --no-index: describe in a separate paragraph
        diff --no-index: clarify operation when not inside a repository
      cd8c891b
    • J
      Merge branch 'ta/user-manual' · 8fbb07e3
      Junio C Hamano 提交于
      Update the user's manual to more recent versions of Git.
      
      * ta/user-manual:
        "git prune" is safe
        Remove irrelevant reference from "Tying it all together"
        Remove unnecessary historical note from "Object storage format"
        Improve section "Merging multiple trees"
        Improve section "Manipulating branches"
        Simplify "How to make a commit"
        Fix some typos and improve wording
        Use "git merge" instead of "git pull ."
        Use current output for "git repack"
        Use current "detached HEAD" message
        Call it "Git User Manual" and remove reference to very old Git version
      8fbb07e3
    • J
      Merge branch 'fc/trivial' · c8ccfc9c
      Junio C Hamano 提交于
      * fc/trivial:
        pull: use $curr_branch_short more
        add: trivial style cleanup
        reset: trivial style cleanup
        branch: trivial style fix
        reset: trivial refactoring
      c8ccfc9c
    • J
      Merge branch 'fc/fast-export' · 984ac91e
      Junio C Hamano 提交于
      Code simpification.
      
      * fc/fast-export:
        fast-export: refactor get_tags_and_duplicates()
        fast-export: make extra_refs global
      984ac91e
    • J
      Merge branch 'ab/gitweb-author-initials' · e8717b67
      Junio C Hamano 提交于
      * ab/gitweb-author-initials:
        gitweb: Fix the author initials in blame for non-ASCII names
      e8717b67
    • J
      Merge branch 'jk/has-sha1-file-retry-packed' · 5ff9f235
      Junio C Hamano 提交于
      When an object is not found after checking the packfiles and then
      loose object directory, read_sha1_file() re-checks the packfiles to
      prevent racing with a concurrent repacker; teach the same logic to
      has_sha1_file().
      
      * jk/has-sha1-file-retry-packed:
        has_sha1_file: re-check pack directory before giving up
      5ff9f235
    • J
      Merge branch 'jk/write-broken-index-with-nul-sha1' · 541dc4df
      Junio C Hamano 提交于
      Earlier we started rejecting an attempt to add 0{40} object name to
      the index and to tree objects, but it sometimes is necessary to
      allow so to be able to use tools like filter-branch to correct such
      broken tree objects.
      
      * jk/write-broken-index-with-nul-sha1:
        write_index: optionally allow broken null sha1s
      541dc4df
    • J
      Merge branch 'jx/clean-interactive' · 9b4aa47e
      Junio C Hamano 提交于
      Finishing touches to update the document to adjust to a new option
      "git clean" learned recently.
      
      * jx/clean-interactive:
        documentation: clarify notes for clean.requireForce
      9b4aa47e
    • J
      Merge branch 'tb/precompose-autodetect-fix' · f2ded0f8
      Junio C Hamano 提交于
      On MacOS X, we detected if the filesystem needs the "pre-composed
      unicode strings" workaround, but did not automatically enable it.
      Now we do.
      
      * tb/precompose-autodetect-fix:
        Set core.precomposeunicode to true on e.g. HFS+
      f2ded0f8
    • J
      Merge branch 'kk/tests-with-no-perl' · 22a6f313
      Junio C Hamano 提交于
      Some tests were not skipped under NO_PERL build.
      
      * kk/tests-with-no-perl:
        reset test: modernize style
        t/t7106-reset-unborn-branch.sh: Add PERL prerequisite
        add -i test: use skip_all instead of repeated PERL prerequisite
        Make test "using invalid commit with -C" more strict
      22a6f313