1. 25 5月, 2016 1 次提交
    • J
      git_config_with_options: drop "found" counting · c72ee44b
      Jeff King 提交于
      Prior to 1f2baa78 (config: treat non-existent config files as
      empty, 2010-10-21), we returned an error if any config files
      were missing. That commit made this a non-error, but
      returned the number of sources found, in case any caller
      wanted to distinguish this case.
      
      In the past 5+ years, no caller has; the only two places
      which bother to check the return value care only about the
      error case.  Let's drop this code, which complicates the
      function. Similarly, let's drop the "found anything" return
      from git_config_from_parameters, which was present only to
      support this (and similarly has never had other callers care
      for the past 5+ years).
      
      Note that we do need to update a comment in one of the
      callers, even though the code immediately below it doesn't
      care about this case.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c72ee44b
  2. 24 5月, 2016 14 次提交
    • J
      Git 2.9-rc0 · 3a0f269e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3a0f269e
    • J
      Merge branch 'svn-travis' of git://bogomips.org/git-svn · f4d7b2e4
      Junio C Hamano 提交于
      * 'svn-travis' of git://bogomips.org/git-svn:
        travis-ci: enable Git SVN tests t91xx on Linux
      f4d7b2e4
    • J
      Merge branch 'jc/rerere-multi' · ec34a8b1
      Junio C Hamano 提交于
      * jc/rerere-multi:
        rerere: remove an null statement
        rerere: plug memory leaks upon "rerere forget" failure
      ec34a8b1
    • J
      Merge branch 'da/difftool' · f895dd74
      Junio C Hamano 提交于
      "git difftool" learned to handle unmerged paths correctly in
      dir-diff mode.
      
      * da/difftool:
        difftool: handle unmerged files in dir-diff mode
        difftool: initialize variables for readability
      f895dd74
    • J
      Merge branch 'jk/test-z-n-unquoted' · dca05bb5
      Junio C Hamano 提交于
      t9xxx series has been updated primarily for readability, while
      fixing small bugs in it.  A few scripted Porcelains have also been
      updated to fix possible bugs around their use of "test -z" and
      "test -n".
      
      * jk/test-z-n-unquoted:
        always quote shell arguments to test -z/-n
        t9103: modernize test style
        t9107: switch inverted single/double quotes in test
        t9107: use "return 1" instead of "exit 1"
        t9100,t3419: enclose all test code in single-quotes
        t/lib-git-svn: drop $remote_git_svn and $git_svn_id
      dca05bb5
    • J
      Merge branch 'ar/diff-args-osx-precompose' · 53c4b3ed
      Junio C Hamano 提交于
      Many commands normalize command line arguments from NFD to NFC
      variant of UTF-8 on OSX, but commands in the "diff" family did
      not, causing "git diff $path" to complain that no such path is
      known to Git.  They have been taught to do the normalization.
      
      * ar/diff-args-osx-precompose:
        diff: run arguments through precompose_argv
      53c4b3ed
    • J
      Merge branch 'jc/doc-lint' · fa4f29b8
      Junio C Hamano 提交于
      Find common mistakes when writing gitlink: in our documentation and
      drive the check from "make check-docs".
      
      I am not entirely happy with the way the script chooses what input
      file to validate, but it is not worse than not having anything, so
      let's move it forward and have the logic improved later when people
      care about it deeply.
      
      * jc/doc-lint:
        ci: validate "linkgit:" in documentation
      fa4f29b8
    • J
      Merge branch 'js/perf-rebase-i' · 7b02771b
      Junio C Hamano 提交于
      Add perf test for "rebase -i"
      
      * js/perf-rebase-i:
        perf: run "rebase -i" under perf
        perf: make the tests work in worktrees
        perf: let's disable symlinks when they are not available
      7b02771b
    • J
      Merge branch 'jc/test-parse-options-expect' · 2997ea96
      Junio C Hamano 提交于
      t0040 had too many unnecessary repetitions in its test data.  Teach
      test-parse-options program so that a caller can tell what it
      expects in its output, so that these repetitions can be cleaned up.
      
      * jc/test-parse-options-expect:
        t0040: convert a few tests to use test-parse-options --expect
        t0040: remove unused test helpers
        test-parse-options: --expect=<string> option to simplify tests
        test-parse-options: fix output when callback option fails
      2997ea96
    • J
      Merge branch 'pb/commit-verbose-config' · 5d5f1c23
      Junio C Hamano 提交于
      "git commit" learned to pay attention to "commit.verbose"
      configuration variable and act as if "--verbose" option was
      given from the command line.
      
      * pb/commit-verbose-config:
        commit: add a commit.verbose config variable
        t7507-commit-verbose: improve test coverage by testing number of diffs
        parse-options.c: make OPTION_COUNTUP respect "unspecified" values
        t/t7507: improve test coverage
        t0040-parse-options: improve test coverage
        test-parse-options: print quiet as integer
        t0040-test-parse-options.sh: fix style issues
      5d5f1c23
    • J
      Merge branch 'xy/format-patch-base' · 72ce3ff7
      Junio C Hamano 提交于
      "git format-patch" learned a new "--base" option to record what
      (public, well-known) commit the original series was built on in
      its output.
      
      * xy/format-patch-base:
        format-patch: introduce format.useAutoBase configuration
        format-patch: introduce --base=auto option
        format-patch: add '--base' option to record base tree info
        patch-ids: make commit_patch_id() a public helper function
      72ce3ff7
    • J
      Merge branch 'tb/core-eol-fix' · 8e342255
      Junio C Hamano 提交于
      A couple of bugs around core.autocrlf have been fixed.
      
      * tb/core-eol-fix:
        convert.c: ident + core.autocrlf didn't work
        t0027: test cases for combined attributes
        convert: allow core.autocrlf=input and core.eol=crlf
        t0027: make commit_chk_wrnNNO() reliable
      8e342255
    • J
      Merge branch 'nd/worktree-various-heads' · 352d72a3
      Junio C Hamano 提交于
      The experimental "multiple worktree" feature gains more safety to
      forbid operations on a branch that is checked out or being actively
      worked on elsewhere, by noticing that e.g. it is being rebased.
      
      * nd/worktree-various-heads:
        branch: do not rename a branch under bisect or rebase
        worktree.c: check whether branch is bisected in another worktree
        wt-status.c: split bisect detection out of wt_status_get_state()
        worktree.c: check whether branch is rebased in another worktree
        worktree.c: avoid referencing to worktrees[i] multiple times
        wt-status.c: make wt_status_check_rebase() work on any worktree
        wt-status.c: split rebase detection out of wt_status_get_state()
        path.c: refactor and add worktree_git_path()
        worktree.c: mark current worktree
        worktree.c: make find_shared_symref() return struct worktree *
        worktree.c: store "id" instead of "git_dir"
        path.c: add git_common_path() and strbuf_git_common_path()
        dir.c: rename str(n)cmp_icase to fspath(n)cmp
      352d72a3
    • J
      Merge branch 'ss/commit-dry-run-resolve-merge-to-no-op' · 9ce2824e
      Junio C Hamano 提交于
      "git commit --dry-run" reported "No, no, you cannot commit." in one
      case where "git commit" would have allowed you to commit, and this
      improves it a little bit ("git commit --dry-run --short" still does
      not give you the correct answer, for example).  This is a stop-gap
      measure in that "commit --short --dry-run" still gives an incorrect
      result.
      
      * ss/commit-dry-run-resolve-merge-to-no-op:
        wt-status.c: set commitable bit if there is a meaningful merge.
      9ce2824e
  3. 23 5月, 2016 1 次提交
  4. 20 5月, 2016 1 次提交
  5. 19 5月, 2016 23 次提交