1. 09 9月, 2017 5 次提交
  2. 27 8月, 2017 18 次提交
    • J
      The fifth batch post 2.14 · 238e487e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      238e487e
    • J
      Merge branch 'mg/killed-merge' · 6e6ba65a
      Junio C Hamano 提交于
      Killing "git merge --edit" before the editor returns control left
      the repository in a state with MERGE_MSG but without MERGE_HEAD,
      which incorrectly tells the subsequent "git commit" that there was
      a squash merge in progress.  This has been fixed.
      
      * mg/killed-merge:
        merge: save merge state earlier
        merge: split write_merge_state in two
        merge: clarify call chain
        Documentation/git-merge: explain --continue
      6e6ba65a
    • J
      Merge branch 'jt/packmigrate' · eabdcd4a
      Junio C Hamano 提交于
      Code movement to make it easier to hack later.
      
      * jt/packmigrate: (23 commits)
        pack: move for_each_packed_object()
        pack: move has_pack_index()
        pack: move has_sha1_pack()
        pack: move find_pack_entry() and make it global
        pack: move find_sha1_pack()
        pack: move find_pack_entry_one(), is_pack_valid()
        pack: move check_pack_index_ptr(), nth_packed_object_offset()
        pack: move nth_packed_object_{sha1,oid}
        pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry()
        pack: move unpack_object_header()
        pack: move get_size_from_delta()
        pack: move unpack_object_header_buffer()
        pack: move {,re}prepare_packed_git and approximate_object_count
        pack: move install_packed_git()
        pack: move add_packed_git()
        pack: move unuse_pack()
        pack: move use_pack()
        pack: move pack-closing functions
        pack: move release_pack_memory()
        pack: move open_pack_index(), parse_pack_index()
        ...
      eabdcd4a
    • J
      Merge branch 'mh/ref-lock-entry' · f2dd90fc
      Junio C Hamano 提交于
      The code to acquire a lock on a reference (e.g. while accepting a
      push from a client) used to immediately fail when the reference is
      already locked---now it waits for a very short while and retries,
      which can make it succeed if the lock holder was holding it during
      a read-only operation.
      
      * mh/ref-lock-entry:
        refs: retry acquiring reference locks for 100ms
      f2dd90fc
    • J
      Merge branch 'jt/doc-pack-objects-fix' · 138e52ea
      Junio C Hamano 提交于
      Doc updates.
      
      * jt/doc-pack-objects-fix:
        Doc: clarify that pack-objects makes packs, plural
      138e52ea
    • J
      Merge branch 'jc/cutoff-config' · 96352ef9
      Junio C Hamano 提交于
      "[gc] rerereResolved = 5.days" used to be invalid, as the variable
      is defined to take an integer counting the number of days.  It now
      is allowed.
      
      * jc/cutoff-config:
        rerere: allow approxidate in gc.rerereResolved/gc.rerereUnresolved
        rerere: represent time duration in timestamp_t internally
        t4200: parameterize "rerere gc" custom expiry test
        t4200: gather "rerere gc" together
        t4200: make "rerere gc" test more robust
        t4200: give us a clean slate after "rerere gc" tests
      96352ef9
    • J
      Merge branch 'kw/write-index-reduce-alloc' · 030faf2f
      Junio C Hamano 提交于
      We used to spend more than necessary cycles allocating and freeing
      piece of memory while writing each index entry out.  This has been
      optimized.
      
      * kw/write-index-reduce-alloc:
        read-cache: avoid allocating every ondisk entry when writing
        read-cache: fix memory leak in do_write_index
        perf: add test for writing the index
      030faf2f
    • J
      Merge branch 'bw/submodule-config-cleanup' · 614ea03a
      Junio C Hamano 提交于
      Code clean-up to avoid mixing values read from the .gitmodules file
      and values read from the .git/config file.
      
      * bw/submodule-config-cleanup:
        submodule: remove gitmodules_config
        unpack-trees: improve loading of .gitmodules
        submodule-config: lazy-load a repository's .gitmodules file
        submodule-config: move submodule-config functions to submodule-config.c
        submodule-config: remove support for overlaying repository config
        diff: stop allowing diff to have submodules configured in .git/config
        submodule: remove submodule_config callback routine
        unpack-trees: don't respect submodule.update
        submodule: don't rely on overlayed config when setting diffopts
        fetch: don't overlay config with submodule-config
        submodule--helper: don't overlay config in update-clone
        submodule--helper: don't overlay config in remote_submodule_branch
        add, reset: ensure submodules can be added or reset
        submodule: don't use submodule_from_name
        t7411: check configuration parsing errors
      614ea03a
    • J
      Merge branch 'js/gitweb-raw-blob-link-in-history' · 2adb6149
      Junio C Hamano 提交于
      "gitweb" shows a link to visit the 'raw' contents of blbos in the
      history overview page.
      
      * js/gitweb-raw-blob-link-in-history:
        gitweb: add 'raw' blob_plain link in history overview
      2adb6149
    • J
      Merge branch 'po/object-id' · 6b8aa329
      Junio C Hamano 提交于
      * po/object-id:
        sha1_file: convert index_stream to struct object_id
        sha1_file: convert hash_sha1_file_literally to struct object_id
        sha1_file: convert index_fd to struct object_id
        sha1_file: convert index_path to struct object_id
        read-cache: convert to struct object_id
        builtin/hash-object: convert to struct object_id
      6b8aa329
    • J
      Merge branch 'jn/vcs-svn-cleanup' · 18c88f9a
      Junio C Hamano 提交于
      Code clean-up.
      
      * jn/vcs-svn-cleanup:
        vcs-svn: move remaining repo_tree functions to fast_export.h
        vcs-svn: remove repo_delete wrapper function
        vcs-svn: remove custom mode constants
        vcs-svn: remove more unused prototypes and declarations
      18c88f9a
    • J
      Merge branch 'bc/vcs-svn-cleanup' · 4c3be636
      Junio C Hamano 提交于
      Code clean-up.
      
      * bc/vcs-svn-cleanup:
        vcs-svn: rename repo functions to "svn_repo"
        vcs-svn: remove unused prototypes
      4c3be636
    • J
      Merge branch 'tb/apply-with-crlf' · a17483fc
      Junio C Hamano 提交于
      "git apply" that is used as a better "patch -p1" failed to apply a
      taken from a file with CRLF line endings to a file with CRLF line
      endings.  The root cause was because it misused convert_to_git()
      that tried to do "safe-crlf" processing by looking at the index
      entry at the same path, which is a nonsense---in that mode, "apply"
      is not working on the data in (or derived from) the index at all.
      This has been fixed.
      
      * tb/apply-with-crlf:
        apply: file commited with CRLF should roundtrip diff and apply
        convert: add SAFE_CRLF_KEEP_CRLF
      a17483fc
    • J
      Merge branch 'jt/stash-tests' · f6a47f9b
      Junio C Hamano 提交于
      Test update to improve coverage for "git stash" operations.
      
      * jt/stash-tests:
        stash: add a test for stashing in a detached state
        stash: add a test for when apply fails during stash branch
        stash: add a test for stash create with no files
      f6a47f9b
    • J
      Merge branch 'jk/trailers-parse' · 06cf4f2d
      Junio C Hamano 提交于
      "git interpret-trailers" has been taught a "--parse" and a few
      other options to make it easier for scripts to grab existing
      trailer lines from a commit log message.
      
      * jk/trailers-parse:
        doc/interpret-trailers: fix "the this" typo
        pretty: support normalization options for %(trailers)
        t4205: refactor %(trailers) tests
        pretty: move trailer formatting to trailer.c
        interpret-trailers: add --parse convenience option
        interpret-trailers: add an option to unfold values
        interpret-trailers: add an option to show only existing trailers
        interpret-trailers: add an option to show only the trailers
        trailer: put process_trailers() options into a struct
      06cf4f2d
    • J
      Merge branch 'pb/trailers-from-command-line' · bfd91b41
      Junio C Hamano 提交于
      "git interpret-trailers" learned to take the trailer specifications
      from the command line that overrides the configured values.
      
      * pb/trailers-from-command-line:
        interpret-trailers: fix documentation typo
        interpret-trailers: add options for actions
        trailers: introduce struct new_trailer_item
        trailers: export action enums and corresponding lookup functions
      bfd91b41
    • J
      Merge branch 'jt/diff-color-move-fix' · 0b963584
      Junio C Hamano 提交于
      A handful of bugfixes and an improvement to "diff --color-moved".
      
      * jt/diff-color-move-fix:
        diff: define block by number of alphanumeric chars
        diff: respect MIN_BLOCK_LENGTH for last block
        diff: avoid redundantly clearing a flag
      0b963584
    • J
      Merge branch 'sb/diff-color-move' · b6c4058f
      Junio C Hamano 提交于
      "git diff" has been taught to optionally paint new lines that are
      the same as deleted lines elsewhere differently from genuinely new
      lines.
      
      * sb/diff-color-move: (25 commits)
        diff: document the new --color-moved setting
        diff.c: add dimming to moved line detection
        diff.c: color moved lines differently, plain mode
        diff.c: color moved lines differently
        diff.c: buffer all output if asked to
        diff.c: emit_diff_symbol learns about DIFF_SYMBOL_SUMMARY
        diff.c: emit_diff_symbol learns about DIFF_SYMBOL_STAT_SEP
        diff.c: convert word diffing to use emit_diff_symbol
        diff.c: convert show_stats to use emit_diff_symbol
        diff.c: convert emit_binary_diff_body to use emit_diff_symbol
        submodule.c: migrate diff output to use emit_diff_symbol
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_REWRITE_DIFF
        diff.c: emit_diff_symbol learns about DIFF_SYMBOL_BINARY_FILES
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_HEADER
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_FILEPAIR_{PLUS, MINUS}
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_CONTEXT_INCOMPLETE
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_WORDS[_PORCELAIN]
        diff.c: migrate emit_line_checked to use emit_diff_symbol
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_NO_LF_EOF
        diff.c: emit_diff_symbol learns DIFF_SYMBOL_CONTEXT_FRAGINFO
        ...
      b6c4058f
  3. 25 8月, 2017 8 次提交
    • J
      The fourth batch post 2.14 · 3dc57ebf
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3dc57ebf
    • J
      Merge branch 'jk/doc-the-this' · 16e842bc
      Junio C Hamano 提交于
      Doc clean-up.
      
      * jk/doc-the-this:
        doc: fix typo in sendemail.identity
      16e842bc
    • J
      Merge branch 'rs/commit-h-single-parent-cleanup' · 985b2cfc
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/commit-h-single-parent-cleanup:
        commit: remove unused inline function single_parent()
      985b2cfc
    • J
      Merge branch 'jc/simplify-progress' · d33a4332
      Junio C Hamano 提交于
      The API to start showing progress meter after a short delay has
      been simplified.
      
      * jc/simplify-progress:
        progress: simplify "delayed" progress API
      d33a4332
    • J
      Merge branch 'tc/curl-with-backports' · 6ea13d88
      Junio C Hamano 提交于
      Updates to the HTTP layer we made recently unconditionally used
      features of libCurl without checking the existence of them, causing
      compilation errors, which has been fixed.  Also migrate the code to
      check feature macros, not version numbers, to cope better with
      libCurl that vendor ships with backported features.
      
      * tc/curl-with-backports:
        http: use a feature check to enable GSSAPI delegation control
        http: fix handling of missing CURLPROTO_*
      6ea13d88
    • J
      Merge branch 'cc/subprocess-handshake-missing-capabilities' · d1615f93
      Junio C Hamano 提交于
      When handshake with a subprocess filter notices that the process
      asked for an unknown capability, Git did not report what program
      the offending subprocess was running.  This has been corrected.
      
      * cc/subprocess-handshake-missing-capabilities:
        sub-process: print the cmd when a capability is unsupported
      d1615f93
    • J
      Merge branch 'rs/object-id' · 11bd9560
      Junio C Hamano 提交于
      Conversion from uchar[20] to struct object_id continues.
      
      * rs/object-id:
        tree-walk: convert fill_tree_descriptor() to object_id
      11bd9560
    • J
      Merge branch 'lg/merge-signoff' · bdfc15fb
      Junio C Hamano 提交于
      "git merge" learned a "--signoff" option to add the Signed-off-by:
      trailer with the committer's name.
      
      * lg/merge-signoff:
        merge: add a --signoff flag
      bdfc15fb
  4. 24 8月, 2017 9 次提交