]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge tag 'l10n-2.24.0-rnd2' of https://github.com/git-l10n/git-po
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Nov 2019 04:25:13 +0000 (13:25 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Nov 2019 04:25:13 +0000 (13:25 +0900)
l10n-2.24.0-rnd2

* tag 'l10n-2.24.0-rnd2' of https://github.com/git-l10n/git-po:
  l10n: zh_CN: for git v2.24.0 l10n round 1~2
  l10n: de.po: Update German translation
  l10n: sv.po: Update Swedish translation (4695t0f0u)
  l10n: bg.po: Updated Bulgarian translation (4694)
  l10n: vi(4694t): Updated translation for v2.24.0
  l10n: es: 2.24.0 round 2
  l10n: it.po: update the Italian translation for Git 2.24.0 round #2
  l10n: fr v2.24.0 rnd2
  l10n: git.pot: v2.24.0 round 2 (1 new)
  l10n: it.po: update the Italian translation for Git 2.24.0
  l10n: fr 2.24.0 rnd 1
  l10n: git.pot: v2.24.0 round 1 (35 new, 16 removed)
  l10n: bg.po: Updated Bulgarian translation (4693)
  l10n: sv.po: Update Swedish translation (4674t0f0u)
  l10n: Update Catalan translation

Documentation/RelNotes/2.24.0.txt
compat/mingw.c
gitweb/static/js/blame_incremental.js
t/t7519-status-fsmonitor.sh

index 125169d0daf2804d002ad58480f0f2a1b7090447..bde154124cb8acf6257b40e97ed3eaa8d0185b36 100644 (file)
@@ -6,10 +6,9 @@ Updates since v2.23
 
 Backward compatibility note
 
- * Although it is not officially deprecated, "filter-branch" is
-   showing its age and alternatives are available.  From this release,
-   we started to discourage its uses and hint people about
-   filter-repo.
+ * "filter-branch" is showing its age and alternatives are available.
+   From this release, we started to discourage its use and hint
+   people about filter-repo.
 
 UI, Workflows & Features
 
@@ -316,7 +315,7 @@ Fixes since v2.23
    to access the worktree correctly, which has been corrected.
    (merge dfd557c978 js/stash-apply-in-secondary-worktree later to maint).
 
- * The merge-recursive machiery is one of the most complex parts of
+ * The merge-recursive machinery is one of the most complex parts of
    the system that accumulated cruft over time.  This large series
    cleans up the implementation quite a bit.
    (merge b657047719 en/merge-recursive-cleanup later to maint).
@@ -395,3 +394,5 @@ Fixes since v2.23
    (merge 3b3c79f6c9 nr/diff-highlight-indent-fix later to maint).
    (merge 3444ec2eb2 wb/fsmonitor-bitmap-fix later to maint).
    (merge 10da030ab7 cb/pcre2-chartables-leakfix later to maint).
+   (merge 60e6569a12 js/mingw-needs-hiding-fix later to maint).
+   (merge 52bd3e4657 rl/gitweb-blame-prev-fix later to maint).
index 6b765d936cfc8afe198b2735dafd4116c1706b58..fe609239dd6ba22a843b243647868f887014d40e 100644 (file)
@@ -363,6 +363,8 @@ static inline int needs_hiding(const char *path)
                        /* ignore trailing slashes */
                        if (*path)
                                basename = path;
+                       else
+                               break;
                }
 
        if (hide_dotfiles == HIDE_DOTFILES_TRUE)
index db6eb505846aedfaca1cdbaf6f4d399d049de777..e100d8206b52c03c5158b45026ed027496ba323b 100644 (file)
@@ -484,7 +484,7 @@ function processBlameLines(lines) {
                        case 'previous':
                                curCommit.nprevious++;
                                // store only first 'previous' header
-                               if (!'previous' in curCommit) {
+                               if (!('previous' in curCommit)) {
                                        var parts = data.split(' ', 2);
                                        curCommit.previous    = parts[0];
                                        curCommit.file_parent = unquote(parts[1]);
index d8df99097237b970cb6643fd77bb32ef80d4ffc6..997d5fb349dfd7e5ee068d2c34b3e091f678f891 100755 (executable)
@@ -354,9 +354,11 @@ test_expect_success 'discard_index() also discards fsmonitor info' '
        test_cmp expect actual
 '
 
-# Test staging/unstaging files that appear at the end of the index.  Test
-# file names begin with 'z' so that they are sorted to the end of the index.
-test_expect_success 'status succeeds after staging/unstaging ' '
+# Test unstaging entries that:
+#  - Are not flagged with CE_FSMONITOR_VALID
+#  - Have a position in the index >= the number of entries present in the index
+#    after unstaging.
+test_expect_success 'status succeeds after staging/unstaging' '
        test_create_repo fsmonitor-stage-unstage &&
        (
                cd fsmonitor-stage-unstage &&