1. 14 4月, 2016 3 次提交
    • J
      Merge branch 'rt/completion-help' · 8b7475ae
      Junio C Hamano 提交于
      Shell completion (in contrib/) updates.
      
      * rt/completion-help:
        completion: add 'revisions' and 'everyday' to 'git help'
        completion: add option '--guides' to 'git help'
      8b7475ae
    • J
      Merge branch 'ak/use-hashmap-iter-first-in-submodule-config' · 73385f20
      Junio C Hamano 提交于
      Minor code cleanup.
      
      * ak/use-hashmap-iter-first-in-submodule-config:
        submodule-config: use hashmap_iter_first()
      73385f20
    • J
      Merge branch 'jk/check-repository-format' · 907c4165
      Junio C Hamano 提交于
      The repository set-up sequence has been streamlined (the biggest
      change is that there is no longer git_config_early()), so that we
      do not attempt to look into refs/* when we know we do not have a
      Git repository.
      
      * jk/check-repository-format:
        verify_repository_format: mark messages for translation
        setup: drop repository_format_version global
        setup: unify repository version callbacks
        init: use setup.c's repo version verification
        setup: refactor repo format reading and verification
        config: drop git_config_early
        check_repository_format_gently: stop using git_config_early
        lazily load core.sharedrepository
        wrap shared_repository global in get/set accessors
        setup: document check_repository_format()
      907c4165
  2. 09 4月, 2016 7 次提交
    • J
      Third batch for post 2.8 cycle · 7b0d47b3
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7b0d47b3
    • J
      Merge branch 'ss/msvc' · 4af46124
      Junio C Hamano 提交于
      Build updates for MSVC.
      
      * ss/msvc:
        MSVC: use shipped headers instead of fallback definitions
        MSVC: vsnprintf in Visual Studio 2015 doesn't need SNPRINTF_SIZE_CORR any more
      4af46124
    • J
      Merge branch 'oa/doc-diff-check' · b0fbcf00
      Junio C Hamano 提交于
      A minor documentation update.
      
      * oa/doc-diff-check:
        Documentation: git diff --check detects conflict markers
      b0fbcf00
    • J
      Merge branch 'pb/opt-cmdmode-doc' · 8fdfaf0b
      Junio C Hamano 提交于
      Minor API documentation update.
      
      * pb/opt-cmdmode-doc:
        api-parse-options.txt: document OPT_CMDMODE()
      8fdfaf0b
    • J
      Merge branch 'nd/apply-report-skip' · 11cfcc57
      Junio C Hamano 提交于
      "git apply -v" learned to report paths in the patch that were
      skipped via --include/--exclude mechanism or being outside the
      current working directory.
      
      * nd/apply-report-skip:
        apply: report patch skipping in verbose mode
      11cfcc57
    • J
      Merge branch 'nd/apply-doc' · efe778c5
      Junio C Hamano 提交于
      A minor documentation update.
      
      * nd/apply-doc:
        git-apply.txt: mention the behavior inside a subdir
        git-apply.txt: remove a space
      efe778c5
    • J
      Merge branch 'jc/merge-refuse-new-root' · d04aa7ec
      Junio C Hamano 提交于
      "git merge" used to allow merging two branches that have no common
      base by default, which led to a brand new history of an existing
      project created and then get pulled by an unsuspecting maintainer,
      which allowed an unnecessary parallel history merged into the
      existing project.  The command has been taught not to allow this by
      default, with an escape hatch "--allow-unrelated-histories" option
      to be used in a rare event that merges histories of two projects
      that started their lives independently.
      
      * jc/merge-refuse-new-root:
        merge: refuse to create too cool a merge by default
      d04aa7ec
  3. 07 4月, 2016 17 次提交
    • J
      Second batch for post 2.8 cycle · 72d917a7
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      72d917a7
    • J
      Merge branch 'la/tag-force-signing-annotated-tags' · a2595f05
      Junio C Hamano 提交于
      "git tag" can create an annotated tag without explicitly given an
      "-a" (or "-s") option (i.e. when a tag message is given).  A new
      configuration variable, tag.forceSignAnnotated, can be used to tell
      the command to create signed tag in such a situation.
      
      * la/tag-force-signing-annotated-tags:
        tag: add the option to force signing of annotated tags
      a2595f05
    • J
      Merge branch 'jk/submodule-c-credential' · 01e1d544
      Junio C Hamano 提交于
      "git -c credential.<var>=<value> submodule" can now be used to
      propagate configuration variables related to credential helper
      down to the submodules.
      
      * jk/submodule-c-credential:
        git_config_push_parameter: handle empty GIT_CONFIG_PARAMETERS
        git: submodule honor -c credential.* from command line
        quote: implement sq_quotef()
        submodule: fix segmentation fault in submodule--helper clone
        submodule: fix submodule--helper clone usage
        submodule: check argc count for git submodule--helper clone
        submodule: don't pass empty string arguments to submodule--helper clone
      01e1d544
    • J
      Merge branch 'jv/merge-nothing-into-void' · aad627e3
      Junio C Hamano 提交于
      "git merge FETCH_HEAD" dereferenced NULL pointer when merging
      nothing into an unborn history (which is arguably unusual usage,
      which perhaps was the reason why nobody noticed it).
      
      * jv/merge-nothing-into-void:
        merge: fix NULL pointer dereference when merging nothing into void
      aad627e3
    • J
      Merge branch 'ss/commit-squash-msg' · a6822e41
      Junio C Hamano 提交于
      When "git merge --squash" stopped due to conflict, the concluding
      "git commit" failed to read in the SQUASH_MSG that shows the log
      messages from all the squashed commits.
      
      * ss/commit-squash-msg:
        commit: do not lose SQUASH_MSG contents
      a6822e41
    • J
      Merge branch 'sb/rebase-x' · 2c657edc
      Junio C Hamano 提交于
      "git rebase -x" can be used without passing "-i" option.
      
      * sb/rebase-x:
        t3404: cleanup double empty lines between tests
        rebase: decouple --exec from --interactive
      2c657edc
    • J
      Merge branch 'jk/test-httpd-config-nosystem' · 3e95e47c
      Junio C Hamano 提交于
      The tests that involve running httpd leaked the system-wide
      configuration in /etc/gitconfig to the tested environment.
      
      * jk/test-httpd-config-nosystem:
        t/lib-httpd: pass through GIT_CONFIG_NOSYSTEM env
      3e95e47c
    • J
      Merge branch 'jk/send-email-rtrim-mailrc-alias' · f4ee5106
      Junio C Hamano 提交于
      "git send-email" had trouble parsing alias file in mailrc format
      when lines in it had trailing whitespaces on them.
      
      * jk/send-email-rtrim-mailrc-alias:
        send-email: ignore trailing whitespace in mailrc alias file
      f4ee5106
    • J
      Merge branch 'jk/credential-cache-comment-exit' · 67827f58
      Junio C Hamano 提交于
      A code clarification.
      
      * jk/credential-cache-comment-exit:
        credential-cache--daemon: clarify "exit" action semantics
      67827f58
    • J
      Merge branch 'sb/clone-t57-t56' · 2f03d174
      Junio C Hamano 提交于
      Rename bunch of tests on "git clone" for better organization.
      
      * sb/clone-t57-t56:
        clone tests: rename t57* => t56*
      2f03d174
    • J
      Merge branch 'ls/p4-map-user' · 1d851b9d
      Junio C Hamano 提交于
      "git p4" now allows P4 author names to be mapped to Git author
      names.
      
      * ls/p4-map-user:
        git-p4: map a P4 user to Git author name and email address
      1d851b9d
    • J
      Merge branch 'cc/doc-recommend-performance-trace-to-file' · 5e533f8f
      Junio C Hamano 提交于
      A minor documentation update.
      
      * cc/doc-recommend-performance-trace-to-file:
        Documentation: talk about pager in api-trace.txt
      5e533f8f
    • J
      Merge branch 'pb/t7502-drop-dup' · 235bdc8c
      Junio C Hamano 提交于
      Code clean-up.
      
      * pb/t7502-drop-dup:
        t/t7502 : drop duplicate test
      235bdc8c
    • J
      Merge branch 'da/mergetool-delete-delete-conflict' · e094194f
      Junio C Hamano 提交于
      "git mergetool" did not work well with conflicts that both sides
      deleted.
      
      * da/mergetool-delete-delete-conflict:
        mergetool: honor tempfile configuration when resolving delete conflicts
        mergetool: support delete/delete conflicts
      e094194f
    • J
      Merge branch 'sb/submodule-parallel-update' · bdebbeb3
      Junio C Hamano 提交于
      A major part of "git submodule update" has been ported to C to take
      advantage of the recently added framework to run download tasks in
      parallel.
      
      * sb/submodule-parallel-update:
        clone: allow an explicit argument for parallel submodule clones
        submodule update: expose parallelism to the user
        submodule helper: remove double 'fatal: ' prefix
        git submodule update: have a dedicated helper for cloning
        run_processes_parallel: rename parameters for the callbacks
        run_processes_parallel: treat output of children as byte array
        submodule update: direct error message to stderr
        fetching submodules: respect `submodule.fetchJobs` config option
        submodule-config: drop check against NULL
        submodule-config: keep update strategy around
      bdebbeb3
    • J
      Merge branch 'ss/receive-pack-parse-options' · 77e07512
      Junio C Hamano 提交于
      The command line argument parser for "receive-pack" has been
      rewritten to use parse-options.
      
      * ss/receive-pack-parse-options:
        builtin/receive-pack.c: use parse_options API
      77e07512
    • J
      Merge branch 'ss/exc-flag-is-a-collection-of-bits' · 12508a83
      Junio C Hamano 提交于
      Code clean-up.
      
      * ss/exc-flag-is-a-collection-of-bits:
        dir: store EXC_FLAG_* values in unsigned integers
      12508a83
  4. 04 4月, 2016 13 次提交
    • J
      First batch for post 2.8 cycle · 6a269e52
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6a269e52
    • J
      Sync with Git 2.8.1 · 9494c396
      Junio C Hamano 提交于
      9494c396
    • J
      Merge branch 'jk/startup-info' · 05bf1cdc
      Junio C Hamano 提交于
      The startup_info data, which records if we are working inside a
      repository (among other things), are now uniformly available to Git
      subcommand implementations, and Git avoids attempting to touch
      references when we are not in a repository.
      
      * jk/startup-info:
        use setup_git_directory() in test-* programs
        grep: turn off gitlink detection for --no-index
        mailmap: do not resolve blobs in a non-repository
        remote: don't resolve HEAD in non-repository
        setup: set startup_info->have_repository more reliably
        setup: make startup_info available everywhere
      05bf1cdc
    • J
      Merge branch 'es/test-gpg-tags' · 7ce0bee4
      Junio C Hamano 提交于
      A test for tags has been restructured so that more parts of it can
      easily be run on a platform without a working GnuPG.
      
      * es/test-gpg-tags:
        t6302: skip only signed tags rather than all tests when GPG is missing
        t6302: also test annotated in addition to signed tags
        t6302: normalize names and descriptions of signed tags
        lib-gpg: drop unnecessary "missing GPG" warning
      7ce0bee4
    • J
      Merge branch 'jk/getwholeline-getdelim-empty' · 087f171f
      Junio C Hamano 提交于
      strbuf_getwholeline() did not NUL-terminate the buffer on certain
      corner cases in its error codepath.
      
      * jk/getwholeline-getdelim-empty:
        strbuf_getwholeline: NUL-terminate getdelim buffer on error
      087f171f
    • J
      Merge branch 'rj/xdiff-prepare-plug-leak-on-error-codepath' · aa3a2c2a
      Junio C Hamano 提交于
      A small memory leak in an error codepath has been plugged in xdiff
      code.
      
      * rj/xdiff-prepare-plug-leak-on-error-codepath:
        xdiff/xprepare: fix a memory leak
        xdiff/xprepare: use the XDF_DIFF_ALG() macro to access flag bits
      aa3a2c2a
    • J
      Merge branch 'jc/index-pack' · 3583bf59
      Junio C Hamano 提交于
      Code clean-up.
      
      * jc/index-pack:
        index-pack: add a helper function to derive .idx/.keep filename
      3583bf59
    • J
      Merge branch 'gf/fetch-pack-direct-object-fetch' · 9081cffd
      Junio C Hamano 提交于
      Fetching of history by naming a commit object name directly didn't
      work across remote-curl transport.
      
      * gf/fetch-pack-direct-object-fetch:
        fetch-pack: update the documentation for "<refs>..." arguments
        fetch-pack: fix object_id of exact sha1
      9081cffd
    • J
      Merge branch 'jc/maint-index-pack-keep' · d4a22303
      Junio C Hamano 提交于
      "git index-pack --keep[=<msg>] pack-$name.pack" simply did not work.
      
      * jc/maint-index-pack-keep:
        index-pack: correct --keep[=<msg>]
      d4a22303
    • J
      Merge branch 'mm/lockfile-error-message' · 3b8c4b72
      Junio C Hamano 提交于
      * mm/lockfile-error-message:
        lockfile: improve error message when lockfile exists
        lockfile: mark strings for translation
      3b8c4b72
    • J
      Merge branch 'jk/rev-parse-local-env-vars' · fbebb5cd
      Junio C Hamano 提交于
      The "--local-env-vars" and "--resolve-git-dir" options of "git
      rev-parse" failed to work outside a repository when the command's
      option parsing was rewritten in 1.8.5 era.
      
      * jk/rev-parse-local-env-vars:
        rev-parse: let some options run outside repository
        t1515: add tests for rev-parse out-of-repo helpers
      fbebb5cd
    • J
      Merge branch 'jk/config-get-urlmatch' · c832cef8
      Junio C Hamano 提交于
      "git config --get-urlmatch", unlike other variants of the "git
      config --get" family, did not signal error with its exit status
      when there was no matching configuration.
      
      * jk/config-get-urlmatch:
        Documentation/git-config: fix --get-all description
        Documentation/git-config: use bulleted list for exit codes
        config: fail if --get-urlmatch finds no value
      c832cef8
    • J
      Merge branch 'jk/add-i-highlight' · 2052c52d
      Junio C Hamano 提交于
      * jk/add-i-highlight:
        add--interactive: allow custom diff highlighting programs
      2052c52d