1. 30 12月, 2014 1 次提交
  2. 23 12月, 2014 39 次提交
    • J
      Sync with maint · bbcefffc
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      bbcefffc
    • J
      Third batch for 2.3 cycle · 2c380e7a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2c380e7a
    • J
      Merge branch 'rs/use-strbuf-complete-line' · a305b15f
      Junio C Hamano 提交于
      * rs/use-strbuf-complete-line:
        use strbuf_complete_line() for adding a newline if needed
      a305b15f
    • J
      Merge branch 'jg/prompt-localize-temporary' · 35b5a8b7
      Junio C Hamano 提交于
      "git-prompt" (in contrib/) used a variable from the global scope,
      possibly contaminating end-user's namespace.
      
      * jg/prompt-localize-temporary:
        git-prompt.sh: make $f local to __git_eread()
      35b5a8b7
    • J
      Merge branch 'ch/new-gpg-drops-rfc-1991' · 3d4eecc8
      Junio C Hamano 提交于
      Recent GPG changes the keyring format and drops support for RFC1991
      formatted signatures, breaking our existing tests.
      
      * ch/new-gpg-drops-rfc-1991:
        tests: make comment on GPG keyring match the code
        tests: squelch noise from GPG machinery set-up
        tests: replace binary GPG keyrings with ASCII-armored keys
        tests: skip RFC1991 tests for gnupg 2.1
        tests: create gpg homedir on the fly
      3d4eecc8
    • J
      Merge branch 'jk/commit-date-approxidate' · 2df39733
      Junio C Hamano 提交于
      Recent update to "git commit" broke amending an existing commit
      with bogus author/committer lines without a valid e-mail address.
      
      * jk/commit-date-approxidate:
        commit: always populate GIT_AUTHOR_* variables
        commit: loosen ident checks when generating template
      2df39733
    • J
      Merge branch 'nd/split-index' · 63903d0e
      Junio C Hamano 提交于
      A typofix to the documentation of a feature already in the release.
      
      * nd/split-index:
        index-format.txt: add a missing closing quote
      63903d0e
    • J
      Merge branch 'jk/test-asan' · 9f240ec6
      Junio C Hamano 提交于
      * jk/test-asan:
        t: support clang/gcc AddressSanitizer
      9f240ec6
    • J
      Merge branch 'ok/rebase-i-count-todo' · 3701aa09
      Junio C Hamano 提交于
      * ok/rebase-i-count-todo:
        Show number of TODO items for interactive rebase
      3701aa09
    • J
      Merge branch 'jk/read-packed-refs-without-path-max' · aa9066fc
      Junio C Hamano 提交于
      Git did not correctly read an overlong refname from a packed refs
      file.
      
      * jk/read-packed-refs-without-path-max:
        read_packed_refs: use skip_prefix instead of static array
        read_packed_refs: pass strbuf to parse_ref_line
        read_packed_refs: use a strbuf for reading lines
      aa9066fc
    • J
      Merge branch 'jk/always-allow-large-packets' · 8ada1d8e
      Junio C Hamano 提交于
      "git push" and "git fetch" did not communicate an overlong refname
      correctly.
      
      * jk/always-allow-large-packets:
        pkt-line: allow writing of LARGE_PACKET_MAX buffers
      8ada1d8e
    • J
      Merge branch 'jk/colors' · 3dadfc7e
      Junio C Hamano 提交于
      "diff-highlight" filter (in contrib/) allows its color output
      to be customized via configuration variables.
      
      * jk/colors:
        parse_color: drop COLOR_BACKGROUND macro
        diff-highlight: allow configurable colors
        parse_color: recognize "no$foo" to clear the $foo attribute
        parse_color: support 24-bit RGB values
        parse_color: refactor color storage
      3dadfc7e
    • J
      Merge branch 'rw/apply-does-not-take-ignore-date' · d539eb9d
      Junio C Hamano 提交于
      * rw/apply-does-not-take-ignore-date:
        git-am.txt: --ignore-date flag is not passed to git-apply
      d539eb9d
    • J
      Merge branch 'js/test-hashmap-squelch-gcc' · 6d43519a
      Junio C Hamano 提交于
      * js/test-hashmap-squelch-gcc:
        test-hashmap: squelch gcc compiler warning
      6d43519a
    • J
      Merge branch 'js/fsck-tag-validation' · 1cb4b3d3
      Junio C Hamano 提交于
      New tag object format validation added in 2.2 showed garbage
      after a tagname it reported in its error message.
      
      * js/fsck-tag-validation:
        index-pack: terminate object buffers with NUL
        fsck: properly bound "invalid tag name" error message
      1cb4b3d3
    • J
      Merge branch 'po/doc-assume-unchanged' · 14d4aab3
      Junio C Hamano 提交于
      Fixes long-standing misunderstanding of what assume-unchanged is
      about.  Some text near what is removed by the bottom patch may also
      have to be removed.
      
      * po/doc-assume-unchanged:
        gitignore.txt: do not suggest assume-unchanged
        doc: make clear --assume-unchanged's user contract
      14d4aab3
    • J
      Merge branch 'mg/branch-d-m-f' · 15a171f6
      Junio C Hamano 提交于
      "git branch -d" (delete) and "git branch -m" (move) learned to
      honor "-f" (force) flag; unlike many other subcommands, the way to
      force these have been with separate "-D/-M" options, which was
      inconsistent.
      
      * mg/branch-d-m-f:
        branch: allow -f with -m and -d
        t3200-branch: test -M
      15a171f6
    • J
      Merge branch 'tb/t0027-eol-conversion' · 00c194a8
      Junio C Hamano 提交于
      * tb/t0027-eol-conversion:
        t0027: check the eol conversion warnings
      00c194a8
    • J
      Merge branch 'jk/for-each-reflog-ent-reverse' · 6f3abb7a
      Junio C Hamano 提交于
      The code that reads the reflog from the newer to the older entries
      did not handle an entry that crosses a boundary of block it uses to
      read them correctly.
      
      * jk/for-each-reflog-ent-reverse:
        for_each_reflog_ent_reverse: turn leftover check into assertion
        for_each_reflog_ent_reverse: fix newlines on block boundaries
      6f3abb7a
    • J
      Merge branch 'sb/string-list' · 12b9f089
      Junio C Hamano 提交于
      API simplification.
      
      * sb/string-list:
        string_list: remove string_list_insert_at_index() from its API
        mailmap: use higher level string list functions
        string_list: document string_list_(insert,lookup)
      12b9f089
    • J
      Merge branch 'sv/doc-stripspace' · 53c3692e
      Junio C Hamano 提交于
      * sv/doc-stripspace:
        Documentation/git-stripspace: add synopsis for --comment-lines
      53c3692e
    • J
      Merge branch 'rt/completion-tag' · 2cd20dc3
      Junio C Hamano 提交于
      * rt/completion-tag:
        completion: add git-tag options
      2cd20dc3
    • J
      Merge branch 'mg/doc-check-ignore-tracked-are-not-ignored' · 3ab00292
      Junio C Hamano 提交于
      * mg/doc-check-ignore-tracked-are-not-ignored:
        check-ignore: clarify treatment of tracked files
      3ab00292
    • J
      Merge branch 'jk/credential-quit' · 86362f72
      Junio C Hamano 提交于
      Credential helpers are asked in turn until one of them give
      positive response, which is cumbersome to turn off when you need to
      run Git in an automated setting.  The credential helper interface
      learned to allow a helper to say "stop, don't ask other helpers."
      Also GIT_TERMINAL_PROMPT environment can be set to false to disable
      our built-in prompt mechanism for passwords.
      
      * jk/credential-quit:
        prompt: respect GIT_TERMINAL_PROMPT to disable terminal prompts
        credential: let helpers tell us to quit
      86362f72
    • J
      Merge branch 'dm/compat-s-ifmt-for-zos' · 2f17ecbd
      Junio C Hamano 提交于
      Long overdue departure from the assumption that S_IFMT is shared by
      everybody made in 2005.
      
      * dm/compat-s-ifmt-for-zos:
        compat: convert modes to use portable file type values
      2f17ecbd
    • J
      Merge branch 'ps/new-workdir-into-empty-directory' · 0b5ae7ba
      Junio C Hamano 提交于
      "git new-workdir" (in contrib/) can be used to populate an empty
      and existing directory now.
      
      * ps/new-workdir-into-empty-directory:
        git-new-workdir: don't fail if the target directory is empty
      0b5ae7ba
    • J
      Merge branch 'nd/ls-tree-pathspec' · 57007723
      Junio C Hamano 提交于
      "git ls-tree" does not support path selection based on negative
      pathspecs, but did not error out when negative pathspecs are given.
      
      * nd/ls-tree-pathspec:
        t3102: style modernization
        t3102: document that ls-tree does not yet support negated pathspec
        ls-tree: disable negative pathspec because it's not supported
        ls-tree: remove path filtering logic in show_tree
        tree.c: update read_tree_recursive callback to pass strbuf as base
      57007723
    • J
      Merge branch 'jc/hook-cleanup' · 77a801d2
      Junio C Hamano 提交于
      Remove unused code.
      
      * jc/hook-cleanup:
        run-command.c: retire unused run_hook_with_custom_index()
      77a801d2
    • J
      Merge branch 'rt/for-each-ref-spell-tcl-as-Tcl' · a558344c
      Junio C Hamano 提交于
      * rt/for-each-ref-spell-tcl-as-Tcl:
        for-each-ref: correct spelling of Tcl in option description
      a558344c
    • J
      Merge branch 'rj/t0050-passes' · 08884f57
      Junio C Hamano 提交于
      * rj/t0050-passes:
        t0050-*.sh: mark the rename (case change) test as passing
      08884f57
    • J
      Merge branch 'js/push-to-deploy' · 72ecc6ef
      Junio C Hamano 提交于
      "git push" into a repository with a working tree normally refuses
      to modify the branch that is checked out.  The command learned to
      optionally do an equivalent of "git reset --hard" only when there
      is no change to the working tree and the index instead, which would
      be useful to "deploy" by pushing into a repository.
      
      * js/push-to-deploy:
        t5516: more tests for receive.denyCurrentBranch=updateInstead
        receive-pack: add another option for receive.denyCurrentBranch
      72ecc6ef
    • J
      Merge branch 'jc/exec-cmd-system-path-leak-fix' · 6bcaff1a
      Junio C Hamano 提交于
      The function sometimes returned a non-freeable memory and some
      other times returned a piece of memory that must be freed.
      
      * jc/exec-cmd-system-path-leak-fix:
        system_path(): always return free'able memory to the caller
      6bcaff1a
    • J
      Merge branch 'mh/find-uniq-abbrev' · 5109f2aa
      Junio C Hamano 提交于
      The code to abbreviate an object name to its short unique prefix
      has been optimized when no abbreviation was requested.
      
      * mh/find-uniq-abbrev:
        sha1_name: avoid unnecessary sha1 lookup in find_unique_abbrev
      5109f2aa
    • J
      Merge branch 'pb/send-email-te' · 2374f1df
      Junio C Hamano 提交于
      "git send-email" learned "--transfer-encoding" option to force
      a non-fault Content-Transfer-Encoding header (e.g. base64).
      
      * pb/send-email-te:
        git-send-email: add --transfer-encoding option
        git-send-email: delay creation of MIME headers
      2374f1df
    • J
      Merge branch 'pb/am-message-id-footer' · fa7f51d5
      Junio C Hamano 提交于
      "git am" learned "--message-id" option to copy the message ID of
      the incoming e-mail to the log message of resulting commit.
      
      * pb/am-message-id-footer:
        git-am: add --message-id/--no-message-id
        git-mailinfo: add --message-id
      fa7f51d5
    • J
      Merge branch 'mh/simplify-repack-without-refs' · a7ddaa8e
      Junio C Hamano 提交于
      "git remote update --prune" to drop many refs has been optimized.
      
      * mh/simplify-repack-without-refs:
        sort_string_list(): rename to string_list_sort()
        prune_remote(): iterate using for_each_string_list_item()
        prune_remote(): rename local variable
        repack_without_refs(): make the refnames argument a string_list
        prune_remote(): sort delete_refs_list references en masse
        prune_remote(): initialize both delete_refs lists in a single loop
        prune_remote(): exit early if there are no stale references
      a7ddaa8e
    • J
      Merge branch 'dw/shell-basename-dashdash-before-stripping-leading-dash-from-login' · 8e606f97
      Junio C Hamano 提交于
      * dw/shell-basename-dashdash-before-stripping-leading-dash-from-login:
        git-sh-setup.sh: use dashdash with basename call
      8e606f97
    • J
      Merge branch 'rj/no-xopen-source-for-cygwin' · 7665d9c3
      Junio C Hamano 提交于
      Avoid compilation warnings on recent gcc toolchain on Cygwin.
      
      * rj/no-xopen-source-for-cygwin:
        git-compat-util.h: don't define _XOPEN_SOURCE on cygwin
      7665d9c3
    • J
      Merge branch 'js/t5000-dont-copy-bin-sh' · 4762c7b4
      Junio C Hamano 提交于
      * js/t5000-dont-copy-bin-sh:
        t5000 on Windows: do not mistake "sh.exe" as "sh"
      4762c7b4