1. 19 1月, 2019 7 次提交
    • J
      Merge branch 'sb/submodule-unset-core-worktree-when-worktree-is-lost' · 39429209
      Junio C Hamano 提交于
      The core.worktree setting in a submodule repository should not be
      pointing at a directory when the submodule loses its working tree
      (e.g. getting deinit'ed), but the code did not properly maintain
      this invariant.
      
      * sb/submodule-unset-core-worktree-when-worktree-is-lost:
        submodule deinit: unset core.worktree
        submodule--helper: fix BUG message in ensure_core_worktree
        submodule: unset core.worktree if no working tree is present
        submodule update: add regression test with old style setups
      39429209
    • J
      Merge branch 'ma/asciidoctor' · 1ed943e9
      Junio C Hamano 提交于
      Some of the documentation pages formatted incorrectly with
      Asciidoctor, which have been fixed.
      
      * ma/asciidoctor:
        git-status.txt: render tables correctly under Asciidoctor
        Documentation: do not nest open blocks
        git-column.txt: fix section header
      1ed943e9
    • J
      Merge branch 'jn/stripspace-wo-repository' · ec27a940
      Junio C Hamano 提交于
      "git stripspace" should be usable outside a git repository, but
      under the "-s" or "-c" mode, it didn't.
      
      * jn/stripspace-wo-repository:
        stripspace: allow -s/-c outside git repository
      ec27a940
    • J
      Merge branch 'sb/submodule-fetchjobs-default-to-one' · 4744d03a
      Junio C Hamano 提交于
      "git submodule update" ought to use a single job unless asked, but
      by mistake used multiple jobs, which has been fixed.
      
      * sb/submodule-fetchjobs-default-to-one:
        submodule update: run at most one fetch job unless otherwise set
      4744d03a
    • J
      Merge branch 'la/quiltimport-keep-non-patch' · 9c51ad58
      Junio C Hamano 提交于
      "git quiltimport" learned "--keep-non-patch" option.
      
      * la/quiltimport-keep-non-patch:
        git-quiltimport: add --keep-non-patch option
      9c51ad58
    • J
      Merge branch 'nd/style-opening-brace' · 3434569f
      Junio C Hamano 提交于
      Code clean-up.
      
      * nd/style-opening-brace:
        style: the opening '{' of a function is in a separate line
      3434569f
    • J
      Merge branch 'ds/gc-doc-typofix' · e07074d3
      Junio C Hamano 提交于
      Typofix.
      
      * ds/gc-doc-typofix:
        git-gc.txt: fix typo about gc.writeCommitGraph
      e07074d3
  2. 15 1月, 2019 20 次提交
  3. 09 1月, 2019 1 次提交
  4. 08 1月, 2019 1 次提交
  5. 05 1月, 2019 11 次提交
    • J
      First batch after 2.20.1 · ecbdaf08
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ecbdaf08
    • J
      Merge branch 'mk/http-backend-kill-children-before-exit' · ea8620b4
      Junio C Hamano 提交于
      The http-backend CGI process did not correctly clean up the child
      processes it spawns to run upload-pack etc. when it dies itself,
      which has been corrected.
      
      * mk/http-backend-kill-children-before-exit:
        http-backend: enable cleaning up forked upload/receive-pack on exit
      ea8620b4
    • J
      Merge branch 'sd/stash-wo-user-name' · 1328d299
      Junio C Hamano 提交于
      A properly configured username/email is required under
      user.useConfigOnly in order to create commits; now "git stash"
      (even though it creates commit objects to represent stash entries)
      command is exempt from the requirement.
      
      * sd/stash-wo-user-name:
        stash: tolerate missing user identity
      1328d299
    • J
      Merge branch 'sg/clone-initial-fetch-configuration' · 84d17831
      Junio C Hamano 提交于
      Refspecs configured with "git -c var=val clone" did not propagate
      to the resulting repository, which has been corrected.
      
      * sg/clone-initial-fetch-configuration:
        Documentation/clone: document ignored configuration variables
        clone: respect additional configured fetch refspecs during initial fetch
        clone: use a more appropriate variable name for the default refspec
      84d17831
    • J
      Merge branch 'nd/checkout-dwim-fix' · 8d7f9dbf
      Junio C Hamano 提交于
      "git checkout frotz" (without any double-dash) avoids ambiguity by
      making sure 'frotz' cannot be interpreted as a revision and as a
      path at the same time.  This safety has been updated to check also
      a unique remote-tracking branch 'frotz' in a remote, when dwimming
      to create a local branch 'frotz' out of a remote-tracking branch
      'frotz' from a remote.
      
      * nd/checkout-dwim-fix:
        checkout: disambiguate dwim tracking branches and local files
      8d7f9dbf
    • J
      Merge branch 'ab/push-dwim-dst' · 0a84724b
      Junio C Hamano 提交于
      "git push $there $src:$dst" rejects when $dst is not a fully
      qualified refname and not clear what the end user meant.  The
      codepath has been taught to give a clearer error message, and also
      guess where the push should go by taking the type of the pushed
      object into account (e.g. a tag object would want to go under
      refs/tags/).
      
      * ab/push-dwim-dst:
        push doc: document the DWYM behavior pushing to unqualified <dst>
        push: test that <src> doesn't DWYM if <dst> is unqualified
        push: add an advice on unqualified <dst> push
        push: move unqualified refname error into a function
        push: improve the error shown on unqualified <dst> push
        i18n: remote.c: mark error(...) messages for translation
        remote.c: add braces in anticipation of a follow-up change
      0a84724b
    • J
      Merge branch 'en/fast-export-import' · 4d597532
      Junio C Hamano 提交于
      Small fixes and features for fast-export and fast-import, mostly on
      the fast-export side.
      
      * en/fast-export-import:
        fast-export: add a --show-original-ids option to show original names
        fast-import: remove unmaintained duplicate documentation
        fast-export: add --reference-excluded-parents option
        fast-export: ensure we export requested refs
        fast-export: when using paths, avoid corrupt stream with non-existent mark
        fast-export: move commit rewriting logic into a function for reuse
        fast-export: avoid dying when filtering by paths and old tags exist
        fast-export: use value from correct enum
        git-fast-export.txt: clarify misleading documentation about rev-list args
        git-fast-import.txt: fix documentation for --quiet option
        fast-export: convert sha1 to oid
      4d597532
    • J
      Merge branch 'nd/the-index' · cde55548
      Junio C Hamano 提交于
      More codepaths become aware of working with in-core repository
      instance other than the default "the_repository".
      
      * nd/the-index: (22 commits)
        rebase-interactive.c: remove the_repository references
        rerere.c: remove the_repository references
        pack-*.c: remove the_repository references
        pack-check.c: remove the_repository references
        notes-cache.c: remove the_repository references
        line-log.c: remove the_repository reference
        diff-lib.c: remove the_repository references
        delta-islands.c: remove the_repository references
        cache-tree.c: remove the_repository references
        bundle.c: remove the_repository references
        branch.c: remove the_repository reference
        bisect.c: remove the_repository reference
        blame.c: remove implicit dependency the_repository
        sequencer.c: remove implicit dependency on the_repository
        sequencer.c: remove implicit dependency on the_index
        transport.c: remove implicit dependency on the_index
        notes-merge.c: remove implicit dependency the_repository
        notes-merge.c: remove implicit dependency on the_index
        list-objects.c: reduce the_repository references
        list-objects-filter.c: remove implicit dependency on the_index
        ...
      cde55548
    • J
      Merge branch 'jk/loose-object-cache' · 3b2f8a02
      Junio C Hamano 提交于
      Code clean-up with optimization for the codepath that checks
      (non-)existence of loose objects.
      
      * jk/loose-object-cache:
        odb_load_loose_cache: fix strbuf leak
        fetch-pack: drop custom loose object cache
        sha1-file: use loose object cache for quick existence check
        object-store: provide helpers for loose_objects_cache
        sha1-file: use an object_directory for the main object dir
        handle alternates paths the same as the main object dir
        sha1_file_name(): overwrite buffer instead of appending
        rename "alternate_object_database" to "object_directory"
        submodule--helper: prefer strip_suffix() to ends_with()
        fsck: do not reuse child_process structs
      3b2f8a02
    • J
      Merge branch 'fc/http-version' · 13d99192
      Junio C Hamano 提交于
      The "http.version" configuration variable can be used with recent
      enough cURL library to force the version of HTTP used to talk when
      fetching and pushing.
      
      * fc/http-version:
        http: add support selecting http version
      13d99192
    • J
      Merge branch 'en/merge-path-collision' · ac193e0e
      Junio C Hamano 提交于
      Updates for corner cases in merge-recursive.
      
      * en/merge-path-collision:
        t6036: avoid non-portable "cp -a"
        merge-recursive: combine error handling
        t6036, t6043: increase code coverage for file collision handling
        merge-recursive: improve rename/rename(1to2)/add[/add] handling
        merge-recursive: use handle_file_collision for add/add conflicts
        merge-recursive: improve handling for rename/rename(2to1) conflicts
        merge-recursive: fix rename/add conflict handling
        merge-recursive: new function for better colliding conflict resolutions
        merge-recursive: increase marker length with depth of recursion
        t6036, t6042: testcases for rename collision of already conflicting files
        t6042: add tests for consistency in file collision conflict handling
      ac193e0e