public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/redhat/heads/gcc-8-branch)] Backport: Add support for gcc as git submodule of another repository.
@ 2020-09-17 16:35 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2020-09-17 16:35 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:fd7973fda4439e4b64f19052aa741b02f5974eba
commit fd7973fda4439e4b64f19052aa741b02f5974eba
Author: Jim Wilson <jimw@sifive.com>
Date: Wed May 2 00:24:45 2018 +0000
Backport: Add support for gcc as git submodule of another repository.
contrib/
* gcc_update: Check for .git as a file.
Diff:
---
contrib/ChangeLog | 7 +++++++
contrib/gcc_update | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 039dc251ebb..47ac7c47dcc 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,10 @@
+2020-01-15 Richard Earnshaw <rearnsha@arm.com>
+
+ Backport:
+ 2018-05-01 Jim Wilson <jimw@sifive.com>
+
+ * gcc_update: Check for .git as a file.
+
2019-08-16 Uros Bizjak <ubizjak@gmail.com>
* test_summary: Do not escape "=".
diff --git a/contrib/gcc_update b/contrib/gcc_update
index a33bb543902..c9c71548f53 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -286,7 +286,7 @@ p
esac
# Check for known version control systems.
-if [ -d .git ]; then
+if [ -d .git ] || [ -f .git ]; then
GCC_GIT=${GCC_GIT-${GIT-git}}
vcs_type="git"
elif [ -d .hg ]; then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-17 16:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 16:35 [gcc(refs/vendors/redhat/heads/gcc-8-branch)] Backport: Add support for gcc as git submodule of another repository Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).