1. 14 4月, 2016 20 次提交
    • J
      Merge branch 'tb/blame-force-read-cache-to-workaround-safe-crlf' · 6680016e
      Junio C Hamano 提交于
      When running "git blame $path" with unnormalized data in the index
      for the path, the data in the working tree was blamed, even though
      "git add" would not have changed what is already in the index, due
      to "safe crlf" that disables the line-end conversion.  It has been
      corrected.
      
      * tb/blame-force-read-cache-to-workaround-safe-crlf:
        correct blame for files commited with CRLF
      6680016e
    • J
      Merge branch 'mg/complete-cherry-mark-to-log' · f0442976
      Junio C Hamano 提交于
      The completion scripts (in contrib/) did not include the
      "--cherry-mark" option when completing "git log <HT>".
      
      * mg/complete-cherry-mark-to-log:
        completion: complete --cherry-mark for git log
      f0442976
    • J
      Merge branch 'ep/trace-doc-sample-fix' · b3300519
      Junio C Hamano 提交于
      Fix a typo in an example in the trace API documentation.
      
      * ep/trace-doc-sample-fix:
        api-trace.txt: fix typo
      b3300519
    • J
      Merge branch 'jc/makefile-redirection-stderr' · 8c9dec98
      Junio C Hamano 提交于
      A minor fix in the Makefile.
      
      * jc/makefile-redirection-stderr:
        Makefile: fix misdirected redirections
      8c9dec98
    • J
      Merge branch 'lt/pretty-expand-tabs' · cafef3d7
      Junio C Hamano 提交于
      When "git log" shows the log message indented by 4-spaces, the
      remainder of a line after a HT does not align in the way the author
      originally intended.  The command now expands tabs by default in
      such a case, and allows the users to override it with a new option,
      '--no-expand-tabs'.
      
      * lt/pretty-expand-tabs:
        pretty: test --expand-tabs
        pretty: allow tweaking tabwidth in --expand-tabs
        pretty: enable --expand-tabs by default for selected pretty formats
        pretty: expand tabs in indented logs to make things line up properly
      cafef3d7
    • J
      Merge branch 'mj/pull-rebase-autostash' · 7c137bb5
      Junio C Hamano 提交于
      "git pull --rebase" learned "--[no-]autostash" option, so that
      the rebase.autostash configuration variable set to true can be
      overridden from the command line.
      
      * mj/pull-rebase-autostash:
        t5520: test --[no-]autostash with pull.rebase=true
        t5520: reduce commom lines of code
        t5520: factor out common "failing autostash" code
        t5520: factor out common "successful autostash" code
        t5520: use better test to check stderr output
        t5520: ensure consistent test conditions
        t5520: use consistent capitalization in test titles
        pull --rebase: add --[no-]autostash flag
        git-pull.c: introduce git_pull_config()
      7c137bb5
    • J
      Merge branch 'jn/mergetools-examdiff' · 34e859d3
      Junio C Hamano 提交于
      "git mergetools" learned to drive ExamDiff.
      
      * jn/mergetools-examdiff:
        mergetools: add support for ExamDiff
        mergetools: create mergetool_find_win32_cmd() helper function for winmerge
      34e859d3
    • J
      Merge branch 'es/format-patch-doc-hide-no-patch' · 79296749
      Junio C Hamano 提交于
      "git format-patch --help" showed `-s` and `--no-patch` as if these
      are valid options to the command.  We already hide `--patch` option
      from the documentation, because format-patch is about showing the
      diff, and the documentation now hides these options as well.
      
      * es/format-patch-doc-hide-no-patch:
        git-format-patch.txt: don't show -s as shorthand for multiple options
      79296749
    • J
      Merge branch 'js/mingw-tests-2.8' · dd27384c
      Junio C Hamano 提交于
      Code clean-up.
      
      * js/mingw-tests-2.8:
        Windows: shorten code by re-using convert_slashes()
      dd27384c
    • J
      Merge branch 'cc/apply' · 5b3b0159
      Junio C Hamano 提交于
      Minor code clean-up.
      
      * cc/apply:
        builtin/apply: free patch when parse_chunk() fails
        builtin/apply: handle parse_binary() failure
        apply: remove unused call to free() in gitdiff_{old,new}name()
        builtin/apply: get rid of useless 'name' variable
      5b3b0159
    • J
      Merge branch 'sb/misc-cleanups' · fc452aea
      Junio C Hamano 提交于
      Assorted minor clean-ups.
      
      * sb/misc-cleanups:
        credential-cache, send_request: close fd when done
        bundle: don't leak an fd in case of early return
        abbrev_sha1_in_line: don't leak memory
        notes: don't leak memory in git_config_get_notes_strategy
      fc452aea
    • J
      Merge branch 'sk/send-pack-all-fix' · 5250af49
      Junio C Hamano 提交于
      "git send-pack --all <there>" was broken when its command line
      option parsing was written in the 2.6 timeframe.
      
      * sk/send-pack-all-fix:
        git-send-pack: fix --all option when used with directory
      5250af49
    • J
      Merge branch 'sg/diff-multiple-identical-renames' · 26effb84
      Junio C Hamano 提交于
      "git diff -M" used to work better when two originally identical
      files A and B got renamed to X/A and X/B by pairing A to X/A and B
      to X/B, but this was broken in the 2.0 timeframe.
      
      * sg/diff-multiple-identical-renames:
        diffcore: fix iteration order of identical files during rename detection
      26effb84
    • J
      Merge branch 'kn/for-each-tag-branch' · 69d65bc7
      Junio C Hamano 提交于
      A minor documentation update.
      
      * kn/for-each-tag-branch:
        for-each-ref: fix description of '--contains' in manpage
      69d65bc7
    • J
      Merge branch 'ky/branch-d-worktree' · 4fca4e37
      Junio C Hamano 提交于
      When "git worktree" feature is in use, "git branch -d" allowed
      deletion of a branch that is checked out in another worktree
      
      * ky/branch-d-worktree:
        branch -d: refuse deleting a branch which is currently checked out
      4fca4e37
    • J
      Merge branch 'rz/worktree-no-checkout' · 0d8683c5
      Junio C Hamano 提交于
      "git worktree add" can be given "--no-checkout" option to only
      create an empty worktree without checking out the files.
      
      * rz/worktree-no-checkout:
        worktree: add: introduce --checkout option
      0d8683c5
    • J
      Merge branch 'rt/rebase-i-shorten-stop-report' · 5c788e77
      Junio C Hamano 提交于
      The commit object name reported when "rebase -i" stops has been
      shortened.
      
      * rt/rebase-i-shorten-stop-report:
        rebase-i: print an abbreviated hash when stop for editing
      5c788e77
    • 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 13 次提交
    • 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