1. 04 8月, 2015 3 次提交
  2. 16 6月, 2015 8 次提交
  3. 12 6月, 2015 12 次提交
    • J
      Second half of seventh batch · a5fe6680
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a5fe6680
    • J
      Merge branch 'tb/complete-sequencing' · e356158b
      Junio C Hamano 提交于
      The bash completion script (in contrib/) learned a few options that
      "git revert" takes.
      
      * tb/complete-sequencing:
        completion: suggest sequencer commands for revert
      e356158b
    • J
      Merge branch 'jk/squelch-missing-link-warning-for-unreachable' · 43262d8d
      Junio C Hamano 提交于
      Recent "git prune" traverses young unreachable objects to safekeep
      old objects in the reachability chain from them, which sometimes
      caused error messages that are unnecessarily alarming.
      
      * jk/squelch-missing-link-warning-for-unreachable:
        suppress errors on missing UNINTERESTING links
        silence broken link warnings with revs->ignore_missing_links
        add quieter versions of parse_{tree,commit}
      43262d8d
    • J
      Merge branch 'pt/pull-tests' · 0e04b248
      Junio C Hamano 提交于
      Add more test coverage to "git pull".
      
      * pt/pull-tests:
        t5520: check reflog action in fast-forward merge
        t5521: test --dry-run does not make any changes
        t5520: test --rebase failure on unborn branch with index
        t5520: test --rebase with multiple branches
        t5520: test work tree fast-forward when fetch updates head
        t5520: test for failure if index has unresolved entries
        t5520: test no merge candidates cases
        t5520: prevent field splitting in content comparisons
      0e04b248
    • J
      Merge branch 'sb/glossary-submodule' · c491e9e4
      Junio C Hamano 提交于
      * sb/glossary-submodule:
        glossary: add "remote", "submodule", "superproject"
      c491e9e4
    • J
      Merge branch 'sb/submodule-doc-intro' · 7df5c978
      Junio C Hamano 提交于
      * sb/submodule-doc-intro:
        submodule doc: reorder introductory paragraphs
      7df5c978
    • J
      Merge branch 'jk/diagnose-config-mmap-failure' · dee47925
      Junio C Hamano 提交于
      The configuration reader/writer uses mmap(2) interface to access
      the files; when we find a directory, it barfed with "Out of memory?".
      
      * jk/diagnose-config-mmap-failure:
        xmmap(): drop "Out of memory?"
        config.c: rewrite ENODEV into EISDIR when mmap fails
        config.c: avoid xmmap error messages
        config.c: fix mmap leak when writing config
        read-cache.c: drop PROT_WRITE from mmap of index
      dee47925
    • J
      Merge branch 'mt/p4-depotFile-at-version' · 8f436d13
      Junio C Hamano 提交于
      * mt/p4-depotFile-at-version:
        p4: retrieve the right revision of the file in UTF-16 codepath
      8f436d13
    • J
      Merge branch 'mh/verify-lock-error-report' · 829f03e9
      Junio C Hamano 提交于
      Bring consistency to error reporting mechanism used in "refs" API.
      
      * mh/verify-lock-error-report:
        ref_transaction_commit(): do not capitalize error messages
        verify_lock(): do not capitalize error messages
        verify_lock(): report errors via a strbuf
        verify_lock(): on errors, let the caller unlock the lock
        verify_lock(): return 0/-1 rather than struct ref_lock *
      829f03e9
    • J
      Merge branch 'jk/color-diff-plain-is-context' · db65170e
      Junio C Hamano 提交于
      "color.diff.plain" was a misnomer; give it 'color.diff.context' as
      a more logical synonym.
      
      * jk/color-diff-plain-is-context:
        diff.h: rename DIFF_PLAIN color slot to DIFF_CONTEXT
        diff: accept color.diff.context as a synonym for "plain"
      db65170e
    • J
      Merge branch 'jk/clone-dissociate' · 82b416e0
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/clone-dissociate:
        clone: reorder --dissociate and --reference options
        clone: use OPT_STRING_LIST for --reference
      82b416e0
    • J
      Merge branch 'jc/diff-ws-error-highlight' · 709cd912
      Junio C Hamano 提交于
      Allow whitespace breakages in deleted and context lines to be also
      painted in the output.
      
      * jc/diff-ws-error-highlight:
        diff.c: --ws-error-highlight=<kind> option
        diff.c: add emit_del_line() and emit_context_line()
        t4015: separate common setup and per-test expectation
        t4015: modernise style
      709cd912
  4. 06 6月, 2015 17 次提交
    • J
      Sync with 2.4.3 · 7974889a
      Junio C Hamano 提交于
      7974889a
    • J
      Git 2.4.3 · 69f9a6e5
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      69f9a6e5
    • J
      The first half of the seventh batch for 2.5 · f1673dc4
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f1673dc4
    • J
      Merge branch 'ld/p4-editor-multi-words' · 9fb0a798
      Junio C Hamano 提交于
      Unlike "$EDITOR" and "$GIT_EDITOR" that can hold the path to the
      command and initial options (e.g. "/path/to/emacs -nw"), 'git p4'
      did not let the shell interpolate the contents of the environment
      variable that name the editor "$P4EDITOR" (and "$EDITOR", too).
      Make it in line with the rest of Git, as well as with Perforce.
      
      * ld/p4-editor-multi-words:
        git-p4: tests: use test-chmtime in place of touch
        git-p4: fix handling of multi-word P4EDITOR
        git-p4: add failing test for P4EDITOR handling
      9fb0a798
    • J
      Merge branch 'bc/object-id' · 5455ee05
      Junio C Hamano 提交于
      for_each_ref() callback functions were taught to name the objects
      not with "unsigned char sha1[20]" but with "struct object_id".
      
      * bc/object-id: (56 commits)
        struct ref_lock: convert old_sha1 member to object_id
        warn_if_dangling_symref(): convert local variable "junk" to object_id
        each_ref_fn_adapter(): remove adapter
        rev_list_insert_ref(): remove unneeded arguments
        rev_list_insert_ref_oid(): new function, taking an object_oid
        mark_complete(): remove unneeded arguments
        mark_complete_oid(): new function, taking an object_oid
        clear_marks(): rewrite to take an object_id argument
        mark_complete(): rewrite to take an object_id argument
        send_ref(): convert local variable "peeled" to object_id
        upload-pack: rewrite functions to take object_id arguments
        find_symref(): convert local variable "unused" to object_id
        find_symref(): rewrite to take an object_id argument
        write_one_ref(): rewrite to take an object_id argument
        write_refs_to_temp_dir(): convert local variable sha1 to object_id
        submodule: rewrite to take an object_id argument
        shallow: rewrite functions to take object_id arguments
        handle_one_ref(): rewrite to take an object_id argument
        add_info_ref(): rewrite to take an object_id argument
        handle_one_reflog(): rewrite to take an object_id argument
        ...
      5455ee05
    • J
      Merge branch 'jk/at-push-sha1' · c4a8354b
      Junio C Hamano 提交于
      Introduce <branch>@{push} short-hand to denote the remote-tracking
      branch that tracks the branch at the remote the <branch> would be
      pushed to.
      
      * jk/at-push-sha1:
        for-each-ref: accept "%(push)" format
        for-each-ref: use skip_prefix instead of starts_with
        sha1_name: implement @{push} shorthand
        sha1_name: refactor interpret_upstream_mark
        sha1_name: refactor upstream_mark
        remote.c: add branch_get_push
        remote.c: return upstream name from stat_tracking_info
        remote.c: untangle error logic in branch_get_upstream
        remote.c: report specific errors from branch_get_upstream
        remote.c: introduce branch_get_upstream helper
        remote.c: hoist read_config into remote_get_1
        remote.c: provide per-branch pushremote name
        remote.c: hoist branch.*.remote lookup out of remote_get_1
        remote.c: drop "remote" pointer from "struct branch"
        remote.c: refactor setup of branch->merge list
        remote.c: drop default_remote_name variable
      c4a8354b
    • J
      Merge branch 'dl/branch-error-message' into maint · cbac7067
      Junio C Hamano 提交于
      Error messages from "git branch" called remote-tracking branches as
      "remote branches".
      
      * dl/branch-error-message:
        branch: do not call a "remote-tracking branch" a "remote branch"
      cbac7067
    • J
      Merge branch 'jk/skip-http-tests-under-no-curl' into maint · c538004c
      Junio C Hamano 提交于
      Test clean-up.
      
      * jk/skip-http-tests-under-no-curl:
        tests: skip dav http-push tests under NO_EXPAT=NoThanks
        t/lib-httpd.sh: skip tests if NO_CURL is defined
      c538004c
    • J
      Merge branch 'ps/doc-packfile-vs-pack-file' into maint · e41f8d98
      Junio C Hamano 提交于
      Doc consistency updates.
      
      * ps/doc-packfile-vs-pack-file:
        doc: fix inconsistent spelling of "packfile"
        pack-protocol.txt: fix insconsistent spelling of "packfile"
        git-unpack-objects.txt: fix inconsistent spelling of "packfile"
        git-verify-pack.txt: fix inconsistent spelling of "packfile"
      e41f8d98
    • J
      Merge branch 'fg/document-commit-message-stripping' into maint · 48feda58
      Junio C Hamano 提交于
      * fg/document-commit-message-stripping:
        Documentation: clarify how "git commit" cleans up the edited log message
      48feda58
    • J
      Merge branch 'jk/rerere-forget-check-enabled' into maint · 5c2e6549
      Junio C Hamano 提交于
      "git rerere forget" in a repository without rerere enabled gave a
      cryptic error message; it should be a silent no-op instead.
      
      * jk/rerere-forget-check-enabled:
        rerere: exit silently on "forget" when rerere is disabled
      5c2e6549
    • J
      Merge branch 'pt/pull-log-n' into maint · 4cb9fe35
      Junio C Hamano 提交于
      "git pull --log" and "git pull --no-log" worked as expected, but
      "git pull --log=20" did not.
      
      * pt/pull-log-n:
        pull: handle --log=<n>
      4cb9fe35
    • J
      Merge branch 'pt/pull-ff-vs-merge-ff' into maint · 7e46f27f
      Junio C Hamano 提交于
      The pull.ff configuration was supposed to override the merge.ff
      configuration, but it didn't.
      
      * pt/pull-ff-vs-merge-ff:
        pull: parse pull.ff as a bool or string
        pull: make pull.ff=true override merge.ff
      7e46f27f
    • J
      Merge branch 'rs/plug-leak-in-pack-bitmaps' into maint · 06629901
      Junio C Hamano 提交于
      The code to read pack-bitmap wanted to allocate a few hundred
      pointers to a structure, but by mistake allocated and leaked memory
      enough to hold that many actual structures.  Correct the allocation
      size and also have it on stack, as it is small enough.
      
      * rs/plug-leak-in-pack-bitmaps:
        pack-bitmaps: plug memory leak, fix allocation size for recent_bitmaps
      06629901
    • J
      Merge branch 'ja/tutorial-asciidoctor-fix' into maint · 7c1ff53d
      Junio C Hamano 提交于
      A literal block in the tutorial had lines with unequal lengths to
      delimit it from the rest of the document, which choke GitHub's
      AsciiDoc renderer.
      
      * ja/tutorial-asciidoctor-fix:
        doc: fix unmatched code fences
      7c1ff53d
    • J
      Merge branch 'jk/stripspace-asciidoctor-fix' into maint · 413a715f
      Junio C Hamano 提交于
      A literal block in the tutorial had lines with unequal lengths to
      delimit it from the rest of the document, which choke GitHub's
      AsciiDoc renderer.
      
      * jk/stripspace-asciidoctor-fix:
        doc: fix unmatched code fences in git-stripspace
      413a715f
    • J
      Merge branch 'jk/asciidoc-markup-fix' into maint · 96b7f93a
      Junio C Hamano 提交于
      Various documentation mark-up fixes to make the output more
      consistent in general and also make AsciiDoctor (an alternative
      formatter) happier.
      
      * jk/asciidoc-markup-fix:
        doc: convert AsciiDoc {?foo} to ifdef::foo[]
        doc: put example URLs and emails inside literal backticks
        doc: drop backslash quoting of some curly braces
        doc: convert \--option to --option
        doc/add: reformat `--edit` option
        doc: fix length of underlined section-title
        doc: fix hanging "+"-continuation
        doc: fix unquoted use of "{type}"
        doc: fix misrendering due to `single quote'
      96b7f93a