1. 11 8月, 2019 1 次提交
  2. 10 8月, 2019 8 次提交
  3. 09 8月, 2019 7 次提交
    • J
      Merge branch 'ja/l10n-fixes' · c2a8c370
      Junio C Hamano 提交于
      A few messages have been updated to help localization better.
      
      * ja/l10n-fixes:
        l10n: reformat some localized strings for v2.23.0
      c2a8c370
    • J
      Merge branch 'en/disable-dir-rename-in-recursive-merge' · 0bdaec1d
      Junio C Hamano 提交于
      "merge-recursive" hit a BUG() when building a virtual merge base
      detected a directory rename.
      
      * en/disable-dir-rename-in-recursive-merge:
        merge-recursive: avoid directory rename detection in recursive case
      0bdaec1d
    • J
      Merge branch 'nd/switch-and-restore' · c0a6c661
      Junio C Hamano 提交于
      Docfix.
      
      * nd/switch-and-restore:
        restore: fix typo in docs
      c0a6c661
    • J
      Merge branch 'mr/doc-can-not-to-cannot' · 68c1ac4a
      Junio C Hamano 提交于
      Docfix.
      
      * mr/doc-can-not-to-cannot:
        doc: typo: s/can not/cannot/ and s/is does/does/
      68c1ac4a
    • J
      Merge branch 'ds/commit-graph-octopus-fix' · 3bcedae2
      Junio C Hamano 提交于
      commit-graph did not handle commits with more than two parents
      correctly, which has been corrected.
      
      * ds/commit-graph-octopus-fix:
        commit-graph: fix bug around octopus merges
      3bcedae2
    • J
      t0000: reword comments for "local" test · 7f0b5908
      Jeff King 提交于
      Commit 01d3a526 (t0000: check whether the shell supports the "local"
      keyword, 2017-10-26) added a test to gather data on whether people run
      the test suite with shells that don't support "local".
      
      After almost two years, nobody has complained, and several other uses
      have cropped up in test-lib-functions.sh. Let's declare it acceptable to
      use.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7f0b5908
    • J
      t: decrease nesting in test_oid_to_path · 1c1f6e03
      Jonathan Nieder 提交于
      t1410.3 ("corrupt and checks") fails when run using dash versions
      before 0.5.8, with a cryptic message:
      
      	mv: cannot stat '.git/objects//e84adb2704cbd49549e52169b4043871e13432': No such file or directory
      
      The function generating that path:
      
      	test_oid_to_path () {
      		echo "${1%${1#??}}/${1#??}"
      	}
      
      which is supposed to produce a result like
      
      	12/3456789....
      
      But a dash bug[*] causes it to instead expand to
      
      	/3456789...
      
      The stream of symbols that makes up this function is hard for humans
      to follow, too.  The complexity mostly comes from the repeated use of
      the expression ${1#??} for the basename of the loose object.  Use a
      variable instead --- nowadays, the dialect of shell used by Git
      permits local variables, so this is cheap.
      
      An alternative way to work around [*] is to remove the double-quotes
      around test_oid_to_path's return value.  That makes the expression
      easier for dash to read, but harder for humans.  Let's prefer the
      rephrasing that's helpful for humans, too.
      
      Noticed by building on Ubuntu trusty, which uses dash 0.5.7.
      
      [*] Fixed by v0.5.8~13 ("[EXPAND] Propagate EXP_QPAT in subevalvar, 2013-08-23).
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1c1f6e03
  4. 08 8月, 2019 4 次提交
  5. 07 8月, 2019 2 次提交
  6. 06 8月, 2019 4 次提交
    • T
      50106db7
    • D
      commit-graph: fix bug around octopus merges · a35bea40
      Derrick Stolee 提交于
      In 1771be90 "commit-graph: merge commit-graph chains" (2019-06-18),
      the method sort_and_scan_merged_commits() was added to merge the
      commit lists of two commit-graph files in the incremental format.
      Unfortunately, there was an off-by-one error in that method around
      incrementing num_extra_edges, which leads to an incorrect offset
      for the base graph chunk.
      
      When we store an octopus merge in the commit-graph file, we store
      the first parent in the normal place, but use the second parent
      position to point into the "extra edges" chunk where the remaining
      parents exist. This means we should be adding "num_parents - 1"
      edges to this list, not "num_parents - 2". That is the basic error.
      
      The reason this was not caught in the test suite is more subtle.
      In 5324-split-commit-graph.sh, we test creating an octopus merge
      and adding it to the tip of a commit-graph chain, then verify the
      result. This _should_ have caught the problem, except that when
      we load the commit-graph files we were overly careful to not fail
      when the commit-graph chain does not match. This care was on
      purpose to avoid race conditions as one process reads the chain
      and another process modifies it. In such a case, the reading
      process outputs the following message to stderr:
      
      	warning: commit-graph chain does not match
      
      These warnings are output in the test suite, but ignored. By
      checking the stderr of `git commit-graph verify` to include
      the expected progress output, it will now catch this error.
      Signed-off-by: NDerrick Stolee <dstolee@microsoft.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a35bea40
    • W
      restore: fix typo in docs · 21416f0a
      William Chargin 提交于
      Signed-off-by: NWilliam Chargin <wchargin@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      21416f0a
    • M
      doc: typo: s/can not/cannot/ and s/is does/does/ · 6d169227
      Mark Rushakoff 提交于
      "Can not" suggests one has the option to not do something, whereas
      "cannot" more strongly suggests something is disallowed or impossible.
      
      Noticed "can not", mistakenly used instead of "cannot" in git help
      glossary, then ran git grep 'can not' and found many other instances.
      Only files in the Documentation folder were modified.
      
      'Can not' also occurs in some source code comments and some test
      assertion messages, and there is an error message and translation "can
      not move directory into itself" which I may fix and submit separately
      from the documentation change.
      
      Also noticed and fixed "is does" in git help fetch, but there are no
      other occurrences of that typo according to git grep.
      Signed-off-by: NMark Rushakoff <mark.rushakoff@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6d169227
  7. 03 8月, 2019 9 次提交
    • J
      Merge branch 'master' of https://github.com/Softcatala/git-po · 78a9b459
      Jiang Xin 提交于
      * 'master' of https://github.com/Softcatala/git-po:
        l10n: Update Catalan translation
      78a9b459
    • J
      Merge branch 'update-italian-translation' of github.com:AlessandroMenti/git-po · 22cc9a33
      Jiang Xin 提交于
      * 'update-italian-translation' of github.com:AlessandroMenti/git-po:
        l10n: it.po: update the Italian translation for v2.23.0
      22cc9a33
    • J
      l10n: Update Catalan translation · 6a7e7c40
      Jordi Mas 提交于
      Signed-off-by: NJordi Mas <jmas@softcatala.org>
      6a7e7c40
    • J
      Git 2.23-rc1 · 7c20df84
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7c20df84
    • J
      Merge branch 'sg/fsck-config-in-doc' · 14fe4af0
      Junio C Hamano 提交于
      Doc update.
      
      * sg/fsck-config-in-doc:
        Documentation/git-fsck.txt: include fsck.* config variables
      14fe4af0
    • J
      Merge branch 'js/visual-studio' · c62bc491
      Junio C Hamano 提交于
      Support building Git with Visual Studio
      
      The bits about .git/branches/* have been dropped from the series.
      We may want to drop the support for it, but until that happens, the
      tests should rely on the existence of the support to pass.
      
      * js/visual-studio: (23 commits)
        git: avoid calling aliased builtins via their dashed form
        bin-wrappers: append `.exe` to target paths if necessary
        .gitignore: ignore Visual Studio's temporary/generated files
        .gitignore: touch up the entries regarding Visual Studio
        vcxproj: also link-or-copy builtins
        msvc: add a Makefile target to pre-generate the Visual Studio solution
        contrib/buildsystems: add a backend for modern Visual Studio versions
        contrib/buildsystems: handle options starting with a slash
        contrib/buildsystems: also handle -lexpat
        contrib/buildsystems: handle libiconv, too
        contrib/buildsystems: handle the curl library option
        contrib/buildsystems: error out on unknown option
        contrib/buildsystems: optionally capture the dry-run in a file
        contrib/buildsystems: redirect errors of the dry run into a log file
        contrib/buildsystems: ignore gettext stuff
        contrib/buildsystems: handle quoted spaces in filenames
        contrib/buildsystems: fix misleading error message
        contrib/buildsystems: ignore irrelevant files in Generators/
        contrib/buildsystems: ignore invalidcontinue.obj
        Vcproj.pm: urlencode '<' and '>' when generating VC projects
        ...
      c62bc491
    • J
      Merge branch 'jc/log-mailmap-flip-defaults' · 9b274e28
      Junio C Hamano 提交于
      Hotfix for making "git log" use the mailmap by default.
      
      * jc/log-mailmap-flip-defaults:
        log: really flip the --mailmap default
        log: flip the --mailmap default unconditionally
      9b274e28
    • J
      Merge branch 'js/early-config-with-onbranch' · e46249f7
      Junio C Hamano 提交于
      The recently added [includeif "onbranch:branch"] feature does not
      work well with an early config mechanism, as it attempts to find
      out what branch we are on before we even haven't located the git
      repository.  The inclusion during early config scan is ignored to
      work around this issue.
      
      * js/early-config-with-onbranch:
        config: work around bug with includeif:onbranch and early config
      e46249f7
    • J
      log: really flip the --mailmap default · f3eda90f
      Junio C Hamano 提交于
      Update the docs, test the interaction between the new default,
      configuration and command line option, in addition to actually
      flipping the default.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f3eda90f
  8. 02 8月, 2019 5 次提交