1. 30 7月, 2019 12 次提交
  2. 12 7月, 2019 11 次提交
  3. 10 7月, 2019 17 次提交
    • J
      The fourth batch · 6d5b2642
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6d5b2642
    • J
      Merge branch 'ds/fetch-disable-force-notice' · cde9a64e
      Junio C Hamano 提交于
      "git fetch" and "git pull" reports when a fetch results in
      non-fast-forward updates to let the user notice unusual situation.
      The commands learned "--no-shown-forced-updates" option to disable
      this safety feature.
      
      * ds/fetch-disable-force-notice:
        pull: add --[no-]show-forced-updates passthrough
        fetch: warn about forced updates in branch listing
        fetch: add --[no-]show-forced-updates argument
      cde9a64e
    • J
      Merge branch 'jh/status-aheadbehind' · 34186225
      Junio C Hamano 提交于
      "git status" can be told a non-standard default value for the
      "--[no-]ahead-behind" option with a new configuration variable
      status.aheadBehind.
      
      * jh/status-aheadbehind:
        status: ignore status.aheadbehind in porcelain formats
        status: warn when a/b calculation takes too long
        status: add status.aheadbehind setting
      34186225
    • J
      Merge branch 'sg/t5551-fetch-smart-error-is-translated' · 2fff5094
      Junio C Hamano 提交于
      Test update.
      
      * sg/t5551-fetch-smart-error-is-translated:
        t5551: use 'test_i18ngrep' to check translated output
      2fff5094
    • J
      Merge branch 'ms/submodule-foreach-fix' · 968eecbd
      Junio C Hamano 提交于
      "git submodule foreach" did not protect command line options passed
      to the command to be run in each submodule correctly, when the
      "--recursive" option was in use.
      
      * ms/submodule-foreach-fix:
        submodule foreach: fix recursion of options
      968eecbd
    • J
      Merge branch 'jh/msvc' · 88b10757
      Junio C Hamano 提交于
      Support to build with MSVC has been updated.
      
      * jh/msvc:
        msvc: ignore .dll and incremental compile output
        msvc: avoid debug assertion windows in Debug Mode
        msvc: do not pretend to support all signals
        msvc: add pragmas for common warnings
        msvc: add a compile-time flag to allow detailed heap debugging
        msvc: support building Git using MS Visual C++
        msvc: update Makefile to allow for spaces in the compiler path
        msvc: fix detect_msys_tty()
        msvc: define ftello()
        msvc: do not re-declare the timespec struct
        msvc: mark a variable as non-const
        msvc: define O_ACCMODE
        msvc: include sigset_t definition
        msvc: fix dependencies of compat/msvc.c
        mingw: replace mingw_startup() hack
        obstack: fix compiler warning
        cache-tree/blame: avoid reusing the DEBUG constant
        t0001 (mingw): do not expect a specific order of stdout/stderr
        Mark .bat files as requiring CR/LF endings
        mingw: fix a typo in the msysGit-specific section
      88b10757
    • J
      Merge branch 'sg/rebase-progress' · 6624e07b
      Junio C Hamano 提交于
      Use "Erase in Line" CSI sequence that is already used in the editor
      support to clear cruft in the progress output.
      
      * sg/rebase-progress:
        progress: use term_clear_line()
        rebase: fix garbled progress display with '-x'
        pager: add a helper function to clear the last line in the terminal
        t3404: make the 'rebase.missingCommitsCheck=ignore' test more focused
        t3404: modernize here doc style
      6624e07b
    • J
      Merge branch 'jw/gitweb-sample-update' · 88176b70
      Junio C Hamano 提交于
      Doc update.
      
      * jw/gitweb-sample-update:
        doc: don't use git.kernel.org as example gitweb URL
      88176b70
    • J
      Merge branch 'js/t0001-case-insensitive' · bf8126ff
      Junio C Hamano 提交于
      Test update.
      
      * js/t0001-case-insensitive:
        t0001: fix on case-insensitive filesystems
      bf8126ff
    • J
      Merge branch 'cc/first-contrib-tutorial' · 3e6c6b77
      Junio C Hamano 提交于
      Update docs used in a tutorial.
      
      * cc/first-contrib-tutorial:
        doc: improve usage string in MyFirstContribution
      3e6c6b77
    • J
      Merge branch 'ab/fail-prereqs-in-test' · 6af2c75d
      Junio C Hamano 提交于
      Test updates.
      
      * ab/fail-prereqs-in-test:
        tests: mark two failing tests under FAIL_PREREQS
      6af2c75d
    • J
      Merge branch 'nd/switch-and-restore' · f496b064
      Junio C Hamano 提交于
      Two new commands "git switch" and "git restore" are introduced to
      split "checking out a branch to work on advancing its history" and
      "checking out paths out of the index and/or a tree-ish to work on
      advancing the current history" out of the single "git checkout"
      command.
      
      * nd/switch-and-restore: (46 commits)
        completion: disable dwim on "git switch -d"
        switch: allow to switch in the middle of bisect
        t2027: use test_must_be_empty
        Declare both git-switch and git-restore experimental
        help: move git-diff and git-reset to different groups
        doc: promote "git restore"
        user-manual.txt: prefer 'merge --abort' over 'reset --hard'
        completion: support restore
        t: add tests for restore
        restore: support --patch
        restore: replace --force with --ignore-unmerged
        restore: default to --source=HEAD when only --staged is specified
        restore: reject invalid combinations with --staged
        restore: add --worktree and --staged
        checkout: factor out worktree checkout code
        restore: disable overlay mode by default
        restore: make pathspec mandatory
        restore: take tree-ish from --source option instead
        checkout: split part of it to new command 'restore'
        doc: promote "git switch"
        ...
      f496b064
    • J
      Merge branch 'nd/fetch-capability-tweak' · b49d337b
      Junio C Hamano 提交于
      Protocol capabilities that go over wire should never be translated,
      but it was incorrectly marked for translation, which has been
      corrected.  The output of protocol capabilities for debugging has
      been tweaked a bit.
      
      * nd/fetch-capability-tweak:
        fetch-pack: print server version at the top in -v -v
        fetch-pack: print all relevant supported capabilities with -v -v
        fetch-pack: move capability names out of i18n strings
      b49d337b
    • J
      Merge branch 'jk/oidhash' · a7db4c19
      Junio C Hamano 提交于
      Code clean-up to remove hardcoded SHA-1 hash from many places.
      
      * jk/oidhash:
        hashmap: convert sha1hash() to oidhash()
        hash.h: move object_id definition from cache.h
        khash: rename oid helper functions
        khash: drop sha1-specific map types
        pack-bitmap: convert khash_sha1 maps into kh_oid_map
        delta-islands: convert island_marks khash to use oids
        khash: rename kh_oid_t to kh_oid_set
        khash: drop broken oid_map typedef
        object: convert create_object() to use object_id
        object: convert internal hash_obj() to object_id
        object: convert lookup_object() to use object_id
        object: convert lookup_unknown_object() to use object_id
        pack-objects: convert locate_object_entry_hash() to object_id
        pack-objects: convert packlist_find() to use object_id
        pack-bitmap-write: convert some helpers to use object_id
        upload-pack: rename a "sha1" variable to "oid"
        describe: fix accidental oid/hash type-punning
      a7db4c19
    • J
      Merge branch 'jk/delta-islands-progress-fix' · a4c8352e
      Junio C Hamano 提交于
      The codepath to compute delta islands used to spew progress output
      without giving the callers any way to squelch it, which has been
      fixed.
      
      * jk/delta-islands-progress-fix:
        delta-islands: respect progress flag
      a4c8352e
    • J
      Merge branch 'md/sort-detached-head-first' · 92f66fd4
      Junio C Hamano 提交于
      "git branch --list" learned to always output the detached HEAD as
      the first item (when the HEAD is detached, of course), regardless
      of the locale.
      
      * md/sort-detached-head-first:
        ref-filter: sort detached HEAD lines firstly
      92f66fd4
    • J
      Merge branch 'nd/fetch-multi-gc-once' · 892d3fb7
      Junio C Hamano 提交于
      "git fetch" that grabs from a group of remotes learned to run the
      auto-gc only once at the very end.
      
      * nd/fetch-multi-gc-once:
        fetch: only run 'gc' once when fetching multiple remotes
      892d3fb7