Skip to content

Commit

Permalink
Update 2 packages
Browse files Browse the repository at this point in the history
mingw-w64-x86_64-git (2.45.2.1.91d03cb2e4-1 -> 2.46.0.rc0.windows.1-1)
mingw-w64-x86_64-git-doc-html (2.45.2.1.91d03cb2e4-1 -> 2.46.0.rc0.windows.1-1)

Signed-off-by: Git for Windows Build Agent <[email protected]>
  • Loading branch information
Git for Windows Build Agent committed Jul 16, 2024
1 parent 10f2012 commit 93d5ec2
Show file tree
Hide file tree
Showing 343 changed files with 233,059 additions and 228,967 deletions.
Binary file modified cmd/git-gui.exe
Binary file not shown.
Binary file modified cmd/git-receive-pack.exe
Binary file not shown.
Binary file modified cmd/git-upload-pack.exe
Binary file not shown.
Binary file modified cmd/git.exe
Binary file not shown.
Binary file modified cmd/gitk.exe
Binary file not shown.
Binary file modified cmd/scalar.exe
Binary file not shown.
Binary file modified cmd/tig.exe
Binary file not shown.
Binary file modified git-bash.exe
Binary file not shown.
Binary file modified git-cmd.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion mingw64/bin/git-cvsserver
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ use File::Path qw/rmtree/;
use File::Basename;
use Getopt::Long qw(:config require_order no_ignore_case);

my $VERSION = '2.45.2.windows.1';
my $VERSION = '2.46.0.rc0.windows.1';

my $log = GITCVS::log->new();
my $cfg;
Expand Down
Binary file modified mingw64/bin/git-receive-pack.exe
Binary file not shown.
Binary file modified mingw64/bin/git-shell.exe
Binary file not shown.
Binary file modified mingw64/bin/git-upload-archive.exe
Binary file not shown.
Binary file modified mingw64/bin/git-upload-pack.exe
Binary file not shown.
Binary file modified mingw64/bin/git.exe
Binary file not shown.
Binary file modified mingw64/bin/scalar.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-credential-wincred.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion mingw64/libexec/git-core/git-cvsserver
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ use File::Path qw/rmtree/;
use File::Basename;
use Getopt::Long qw(:config require_order no_ignore_case);

my $VERSION = '2.45.2.windows.1';
my $VERSION = '2.46.0.rc0.windows.1';

my $log = GITCVS::log->new();
my $cfg;
Expand Down
Binary file modified mingw64/libexec/git-core/git-daemon.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion mingw64/libexec/git-core/git-gui.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2312,7 +2312,7 @@ proc do_quit {{rc {1}}} {
#
set save [gitdir GITGUI_MSG]
if {$GITGUI_BCK_exists && ![$ui_comm edit modified]} {
file rename -force [gitdir GITGUI_BCK] $save
catch { file rename -force [gitdir GITGUI_BCK] $save }
set GITGUI_BCK_exists 0
} elseif {[$ui_comm edit modified]} {
set msg [string trim [$ui_comm get 0.0 end]]
Expand Down
Binary file modified mingw64/libexec/git-core/git-http-backend.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-http-fetch.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-http-push.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-imap-send.exe
Binary file not shown.
24 changes: 13 additions & 11 deletions mingw64/libexec/git-core/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -3253,17 +3253,19 @@ class P4Sync(Command, P4UserMap):
if self.stream_have_file_info:
if "depotFile" in self.stream_file:
f = self.stream_file["depotFile"]
# force a failure in fast-import, else an empty
# commit will be made
self.gitStream.write("\n")
self.gitStream.write("die-now\n")
self.gitStream.close()
# ignore errors, but make sure it exits first
self.importProcess.wait()
if f:
die("Error from p4 print for %s: %s" % (f, err))
else:
die("Error from p4 print: %s" % err)
try:
# force a failure in fast-import, else an empty
# commit will be made
self.gitStream.write("\n")
self.gitStream.write("die-now\n")
self.gitStream.close()
# ignore errors, but make sure it exits first
self.importProcess.wait()
finally:
if f:
die("Error from p4 print for %s: %s" % (f, err))
else:
die("Error from p4 print: %s" % err)

if 'depotFile' in marshalled and self.stream_have_file_info:
# start of a new file - output the old one first
Expand Down
Binary file modified mingw64/libexec/git-core/git-remote-ftp.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-remote-ftps.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-remote-http.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-remote-https.exe
Binary file not shown.
13 changes: 8 additions & 5 deletions mingw64/libexec/git-core/git-send-email
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ sub gen_header {
@recipients = unique_email_list(@recipients,@cc,@initial_bcc);
@recipients = (map { extract_valid_address_or_die($_) } @recipients);
my $date = format_2822_time($time++);
my $gitversion = '2.45.2.windows.1';
my $gitversion = '2.46.0.rc0.windows.1';
if ($gitversion =~ m/..GIT_VERSION../) {
$gitversion = Git::version();
}
Expand Down Expand Up @@ -1707,9 +1707,11 @@ EOF
$smtp->code =~ /250|200/ or die sprintf(__("Failed to send %s\n"), $subject).$smtp->message;
}
if ($quiet) {
printf($dry_run ? __("Dry-Sent %s\n") : __("Sent %s\n"), $subject);
printf($dry_run ? __("Dry-Sent %s") : __("Sent %s"), $subject);
print "\n";
} else {
print($dry_run ? __("Dry-OK. Log says:\n") : __("OK. Log says:\n"));
print($dry_run ? __("Dry-OK. Log says:") : __("OK. Log says:"));
print "\n";
if (!defined $sendmail_cmd && !file_name_is_absolute($smtp_server)) {
print "Server: $smtp_server\n";
print "MAIL FROM:<$raw_from>\n";
Expand All @@ -1729,10 +1731,11 @@ EOF
print $header, "\n";
if ($smtp) {
print __("Result: "), $smtp->code, ' ',
($smtp->message =~ /\n([^\n]+\n)$/s), "\n";
($smtp->message =~ /\n([^\n]+\n)$/s);
} else {
print __("Result: OK\n");
print __("Result: OK");
}
print "\n";
}

return 1;
Expand Down
Binary file modified mingw64/libexec/git-core/git-sh-i18n--envsubst.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/git-shell.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion mingw64/libexec/git-core/git-svn
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use vars qw/ $AUTHOR $VERSION
$_revision $_repository
$_q $_authors $_authors_prog %users/;
$AUTHOR = 'Eric Wong <[email protected]>';
$VERSION = '2.45.2.windows.1';
$VERSION = '2.46.0.rc0.windows.1';

use Carp qw/croak/;
use File::Basename qw/dirname basename/;
Expand Down
Binary file modified mingw64/libexec/git-core/git.exe
Binary file not shown.
Binary file modified mingw64/libexec/git-core/headless-git.exe
Binary file not shown.
5 changes: 2 additions & 3 deletions mingw64/libexec/git-core/mergetools/vimdiff
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ gen_cmd_aux () {
nested=0
nested_min=100


# Step 1:
#
# Increase/decrease "start"/"end" indices respectively to get rid of
Expand All @@ -87,7 +86,7 @@ gen_cmd_aux () {
IFS=#
for c in $(echo "$LAYOUT" | sed 's:.:&#:g')
do
if test "$c" = " "
if test -z "$c" || test "$c" = " "
then
continue
fi
Expand Down Expand Up @@ -326,7 +325,7 @@ gen_cmd () {
fi

# If this is a single window diff with all the buffers
if ! echo "$tab" | grep ",\|/" >/dev/null
if ! echo "$tab" | grep -E ",|/" >/dev/null
then
CMD="$CMD | silent execute 'bufdo diffthis'"
fi
Expand Down
Binary file modified mingw64/libexec/git-core/scalar.exe
Binary file not shown.
135 changes: 135 additions & 0 deletions mingw64/share/doc/git-doc/BreakingChanges.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
= Upcoming breaking changes

The Git project aims to ensure backwards compatibility to the best extent
possible. Minor releases will not break backwards compatibility unless there is
a very strong reason to do so, like for example a security vulnerability.

Regardless of that, due to the age of the Git project, it is only natural to
accumulate a backlog of backwards-incompatible changes that will eventually be
required to keep the project aligned with a changing world. These changes fall
into several categories:

* Changes to long established defaults.
* Concepts that have been replaced with a superior design.
* Concepts, commands, configuration or options that have been lacking in major
ways and that cannot be fixed and which will thus be removed without any
replacement.

Explicitly not included in this list are fixes to minor bugs that may cause a
change in user-visible behavior.

The Git project irregularly releases breaking versions that deliberately break
backwards compatibility with older versions. This is done to ensure that Git
remains relevant, safe and maintainable going forward. The release cadence of
breaking versions is typically measured in multiple years. We had the following
major breaking releases in the past:

* Git 1.6.0, released in August 2008.
* Git 2.0, released in May 2014.

We use <major>.<minor> release numbers these days, starting from Git 2.0. For
future releases, our plan is to increment <major> in the release number when we
make the next breaking release. Before Git 2.0, the release numbers were
1.<major>.<minor> with the intention to increment <major> for "usual" breaking
releases, reserving the jump to Git 2.0 for really large backward-compatibility
breaking changes.

The intent of this document is to track upcoming deprecations for future
breaking releases. Furthermore, this document also tracks what will _not_ be
deprecated. This is done such that the outcome of discussions document both
when the discussion favors deprecation, but also when it rejects a deprecation.

Items should have a clear summary of the reasons why we do or do not want to
make the described change that can be easily understood without having to read
the mailing list discussions. If there are alternatives to the changed feature,
those alternatives should be pointed out to our users.

All items should be accompanied by references to relevant mailing list threads
where the deprecation was discussed. These references use message-IDs, which
can visited via

https://lore.kernel.org/git/$message_id/

to see the message and its surrounding discussion. Such a reference is there to
make it easier for you to find how the project reached consensus on the
described item back then.

This is a living document as the environment surrounding the project changes
over time. If circumstances change, an earlier decision to deprecate or change
something may need to be revisited from time to time. So do not take items on
this list to mean "it is settled, do not waste our time bringing it up again".

== Git 3.0

The following subsections document upcoming breaking changes for Git 3.0. There
is no planned release date for this breaking version yet.

Proposed changes and removals only include items which are "ready" to be done.
In other words, this is not supposed to be a wishlist of features that should
be changed to or replaced in case the alternative was implemented already.

=== Changes

* The default hash function for new repositories will be changed from "sha1"
to "sha256". SHA-1 has been deprecated by NIST in 2011 and is nowadays
recommended against in FIPS 140-2 and similar certifications. Furthermore,
there are practical attacks on SHA-1 that weaken its cryptographic properties:
+
** The SHAppening (2015). The first demonstration of a practical attack
against SHA-1 with 2^57 operations.
** SHAttered (2017). Generation of two valid PDF files with 2^63 operations.
** Birthday-Near-Collision (2019). This attack allows for chosen prefix
attacks with 2^68 operations.
** Shambles (2020). This attack allows for chosen prefix attacks with 2^63
operations.
+
While we have protections in place against known attacks, it is expected
that more attacks against SHA-1 will be found by future research. Paired
with the ever-growing capability of hardware, it is only a matter of time
before SHA-1 will be considered broken completely. We want to be prepared
and will thus change the default hash algorithm to "sha256" for newly
initialized repositories.
+
An important requirement for this change is that the ecosystem is ready to
support the "sha256" object format. This includes popular Git libraries,
applications and forges.
+
There is no plan to deprecate the "sha1" object format at this point in time.
+
Cf. <[email protected]>,
<[email protected]>,
<CA+EOSBncr=4a4d8n9xS4FNehyebpmX8JiUwCsXD47EQDE+DiUQ@mail.gmail.com>.

=== Removals

* Support for grafting commits has long been superseded by git-replace(1).
Grafts are inferior to replacement refs:
+
** Grafts are a local-only mechanism and cannot be shared across
repositories.
** Grafts can lead to hard-to-diagnose problems when transferring objects
between repositories.
+
The grafting mechanism has been marked as outdated since e650d0643b (docs: mark
info/grafts as outdated, 2014-03-05) and will be removed.
+
Cf. <[email protected]>.

== Superseded features that will not be deprecated

Some features have gained newer replacements that aim to improve the design in
certain ways. The fact that there is a replacement does not automatically mean
that the old way of doing things will eventually be removed. This section tracks
those features with newer alternatives.

* The features git-checkout(1) offers are covered by the pair of commands
git-restore(1) and git-switch(1). Because the use of git-checkout(1) is still
widespread, and it is not expected that this will change anytime soon, all
three commands will stay.
+
This decision may get revisited in case we ever figure out that there are
almost no users of any of the commands anymore.
+
Cf. <[email protected]>,
<[email protected]>,
<[email protected]>.
Loading

0 comments on commit 93d5ec2

Please sign in to comment.