1. 23 2月, 2016 13 次提交
  2. 17 2月, 2016 1 次提交
    • P
      config: introduce set_or_die wrappers · b4c8aba6
      Patrick Steinhardt 提交于
      A lot of call-sites for the existing family of `git_config_set`
      functions do not check for errors that may occur, e.g. when the
      configuration file is locked. In many cases we simply want to die
      when such a situation arises.
      
      Introduce wrappers that will cause the program to die in those
      cases. These wrappers are temporary only to ease the transition
      to let `git_config_set` die by default. They will be removed
      later on when `git_config_set` itself has been replaced by
      `git_config_set_gently`.
      Signed-off-by: NPatrick Steinhardt <ps@pks.im>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b4c8aba6
  3. 06 2月, 2016 26 次提交
    • J
      Git 2.7.1 · a08595f7
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a08595f7
    • J
      Merge branch 'lv/add-doc-working-tree' into maint · 5276be84
      Junio C Hamano 提交于
      * lv/add-doc-working-tree:
        git-add doc: do not say working directory when you mean working tree
      5276be84
    • J
      Merge branch 'ss/clone-depth-single-doc' into maint · 2db7d79b
      Junio C Hamano 提交于
      Documentation for "git fetch --depth" has been updated for clarity.
      
      * ss/clone-depth-single-doc:
        docs: clarify that --depth for git-fetch works with newly initialized repos
        docs: say "commits" in the --depth option wording for git-clone
        docs: clarify that passing --depth to git-clone implies --single-branch
      2db7d79b
    • J
      Merge branch 'sg/t6050-failing-editor-test-fix' into maint · 0298675a
      Junio C Hamano 提交于
      * sg/t6050-failing-editor-test-fix:
        t6050-replace: make failing editor test more robust
      0298675a
    • J
      Merge branch 'ew/for-each-ref-doc' into maint · 01517bd2
      Junio C Hamano 提交于
      * ew/for-each-ref-doc:
        for-each-ref: document `creatordate` and `creator` fields
      01517bd2
    • J
      Merge branch 'ss/user-manual' into maint · 353f6855
      Junio C Hamano 提交于
      Drop a few old "todo" items by deciding that the change one of them
      suggests is not such a good idea, and doing the change the other
      one suggested to do.
      
      * ss/user-manual:
        user-manual: add addition gitweb information
        user-manual: add section documenting shallow clones
        glossary: define the term shallow clone
        user-manual: remove temporary branch entry from todo list
      353f6855
    • J
      Merge branch 'jk/ref-cache-non-repository-optim' into maint · e2d77390
      Junio C Hamano 提交于
      The underlying machinery used by "ls-files -o" and other commands
      have been taught not to create empty submodule ref cache for a
      directory that is not a submodule.  This removes a ton of wasted
      CPU cycles.
      
      * jk/ref-cache-non-repository-optim:
        resolve_gitlink_ref: ignore non-repository paths
        clean: make is_git_repository a public function
      e2d77390
    • J
      Merge branch 'js/dirname-basename' into maint · 07be1da2
      Junio C Hamano 提交于
      dirname() emulation has been added, as Msys2 lacks it.
      
      * js/dirname-basename:
        mingw: avoid linking to the C library's isalpha()
        t0060: loosen overly strict expectations
        t0060: verify that basename() and dirname() work as expected
        compat/basename.c: provide a dirname() compatibility function
        compat/basename: make basename() conform to POSIX
        Refactor skipping DOS drive prefixes
      07be1da2
    • J
      Merge branch 'tb/complete-word-diff-regex' into maint · 081363dd
      Junio C Hamano 提交于
      * tb/complete-word-diff-regex:
        completion: complete "diff --word-diff-regex="
      081363dd
    • J
      Merge branch 'pw/completion-stash' into maint · 0a8748d8
      Junio C Hamano 提交于
      * pw/completion-stash:
        completion: update completion arguments for stash
      0a8748d8
    • J
      Merge branch 'pw/completion-show-branch' into maint · 39abb2ed
      Junio C Hamano 提交于
      * pw/completion-show-branch:
        completion: complete show-branch "--date-order"
      39abb2ed
    • J
      Merge branch 'jk/completion-rebase' into maint · d509fa44
      Junio C Hamano 提交于
      * jk/completion-rebase:
        completion: add missing git-rebase options
      d509fa44
    • J
      Merge branch 'nd/diff-with-path-params' into maint · 02dab5d3
      Junio C Hamano 提交于
      A few options of "git diff" did not work well when the command was
      run from a subdirectory.
      
      * nd/diff-with-path-params:
        diff: make -O and --output work in subdirectory
        diff-no-index: do not take a redundant prefix argument
      02dab5d3
    • J
      Merge branch 'dw/subtree-split-do-not-drop-merge' into maint · 6a65bdcc
      Junio C Hamano 提交于
      The "split" subcommand of "git subtree" (in contrib/) incorrectly
      skipped merges when it shouldn't, which was corrected.
      
      * dw/subtree-split-do-not-drop-merge:
        contrib/subtree: fix "subtree split" skipped-merge bug
      6a65bdcc
    • J
      Merge branch 'ew/svn-1.9.0-auth' into maint · 0244713d
      Junio C Hamano 提交于
      * ew/svn-1.9.0-auth:
        git-svn: fix auth parameter handling on SVN 1.9.0+
      0244713d
    • J
      Merge branch 'jk/list-tag-2.7-regression' into maint · 88ec75db
      Junio C Hamano 提交于
      "git tag" started listing a tag "foo" as "tags/foo" when a branch
      named "foo" exists in the same repository; remove this unnecessary
      disambiguation, which is a regression introduced in v2.7.0.
      
      * jk/list-tag-2.7-regression:
        tag: do not show ambiguous tag names as "tags/foo"
        t6300: use test_atom for some un-modern tests
      88ec75db
    • J
      Merge branch 'jk/sanity' into maint · 913c2c7c
      Junio C Hamano 提交于
      The description for SANITY prerequisite the test suite uses has
      been clarified both in the comment and in the implementation.
      
      * jk/sanity:
        test-lib: clarify and tighten SANITY
      913c2c7c
    • J
      Merge branch 'jk/filter-branch-no-index' into maint · 16f5e268
      Junio C Hamano 提交于
      A recent optimization to filter-branch in v2.7.0 introduced a
      regression when --prune-empty filter is used, which has been
      corrected.
      
      * jk/filter-branch-no-index:
        filter-branch: resolve $commit^{tree} in no-index case
      16f5e268
    • J
      Merge branch 'js/close-packs-before-gc' into maint · f748e691
      Junio C Hamano 提交于
      Many codepaths that run "gc --auto" before exiting kept packfiles
      mapped and left the file descriptors to them open, which was not
      friendly to systems that cannot remove files that are open.  They
      now close the packs before doing so.
      
      * js/close-packs-before-gc:
        receive-pack: release pack files before garbage-collecting
        merge: release pack files before garbage-collecting
        am: release pack files before garbage-collecting
        fetch: release pack files before garbage-collecting
      f748e691
    • J
      Merge branch 'jk/ok-to-fail-gc-auto-in-rebase' into maint · b11a3bad
      Junio C Hamano 提交于
      "git rebase", unlike all other callers of "gc --auto", did not
      ignore the exit code from "gc --auto".
      
      * jk/ok-to-fail-gc-auto-in-rebase:
        rebase: ignore failures from "gc --auto"
      b11a3bad
    • J
      Merge branch 'ho/gitweb-squelch-undef-warning' into maint · 15f40964
      Junio C Hamano 提交于
      Asking gitweb for a nonexistent commit left a warning in the server
      log.
      
      Somebody may want to follow this up with a new test, perhaps?
      IIRC, we do test that no Perl warnings are given to the server log,
      so this should have been caught if our test coverage were good.
      
      * ho/gitweb-squelch-undef-warning:
        gitweb: squelch "uninitialized value" warning
      15f40964
    • J
      Merge branch 'js/fopen-harder' into maint · da07df3e
      Junio C Hamano 提交于
      Some codepaths used fopen(3) when opening a fixed path in $GIT_DIR
      (e.g. COMMIT_EDITMSG) that is meant to be left after the command is
      done.  This however did not work well if the repository is set to
      be shared with core.sharedRepository and the umask of the previous
      user is tighter.  They have been made to work better by calling
      unlink(2) and retrying after fopen(3) fails with EPERM.
      
      * js/fopen-harder:
        Handle more file writes correctly in shared repos
        commit: allow editing the commit message even in shared repos
      da07df3e
    • J
      Merge branch 'nd/exclusion-regression-fix' into maint · 9496acc1
      Junio C Hamano 提交于
      The ignore mechanism saw a few regressions around untracked file
      listing and sparse checkout selection areas in 2.7.0; the change
      that is responsible for the regression has been reverted.
      
      * nd/exclusion-regression-fix:
        Revert "dir.c: don't exclude whole dir prematurely if neg pattern may match"
      9496acc1
    • J
      Merge branch 'dk/reflog-walk-with-non-commit' into maint · 90b99869
      Junio C Hamano 提交于
      "git reflog" incorrectly assumed that all objects that used to be
      at the tip of a ref must be commits, which caused it to segfault.
      
      * dk/reflog-walk-with-non-commit:
        reflog-walk: don't segfault on non-commit sha1's in the reflog
      90b99869
    • J
      Merge branch 'dw/signoff-doc' into maint · 7aae9ba6
      Junio C Hamano 提交于
      The documentation has been updated to hint the connection between
      the '--signoff' option and DCO.
      
      * dw/signoff-doc:
        Expand documentation describing --signoff
      7aae9ba6
    • J
      Merge branch 'jk/clang-pedantic' into maint · 6e29ac23
      Junio C Hamano 提交于
      A few unportable C construct have been spotted by clang compiler
      and have been fixed.
      
      * jk/clang-pedantic:
        bswap: add NO_UNALIGNED_LOADS define
        avoid shifting signed integers 31 bits
      6e29ac23