Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
11b81575
Commit
11b81575
authored
Jan 13, 2020
by
Richard Earnshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "contrib: Add in the default push rule which was overridden"
This reverts commit
b60563a8
. Doesn't work as expected.
parent
b60563a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
contrib/ChangeLog
+9
-0
contrib/gcc-git-customization.sh
+0
-4
contrib/git-fetch-vendor.sh
+3
-7
No files found.
contrib/ChangeLog
View file @
11b81575
2010
-
01
-
13
Richard
Earnshaw
<
rearnsha
@arm
.
com
>
2010
-
01
-
13
Richard
Earnshaw
<
rearnsha
@arm
.
com
>
Revert
:
2010
-
01
-
13
Richard
Earnshaw
<
rearnsha
@arm
.
com
>
*
gcc
-
git
-
customization
.
sh
:
Add
back
the
default
rule
that
is
lost
by
adding
a
custom
push
rule
.
*
git
-
fetch
-
vendor
.
sh
:
Likewise
,
also
remove
'+'
from
push
specs
.
2010
-
01
-
13
Richard
Earnshaw
<
rearnsha
@arm
.
com
>
*
gcc
-
git
-
customization
.
sh
:
Add
back
the
default
rule
that
*
gcc
-
git
-
customization
.
sh
:
Add
back
the
default
rule
that
is
lost
by
adding
a
custom
push
rule
.
is
lost
by
adding
a
custom
push
rule
.
*
git
-
fetch
-
vendor
.
sh
:
Likewise
,
also
remove
'+'
from
push
specs
.
*
git
-
fetch
-
vendor
.
sh
:
Likewise
,
also
remove
'+'
from
push
specs
.
...
...
contrib/gcc-git-customization.sh
View file @
11b81575
...
@@ -68,11 +68,7 @@ echo "(local branches starting <prefix>/ can be pushed directly to your"
...
@@ -68,11 +68,7 @@ echo "(local branches starting <prefix>/ can be pushed directly to your"
ask
"personal area on the gcc server)"
$old_pfx
new_pfx
ask
"personal area on the gcc server)"
$old_pfx
new_pfx
git config
"gcc-config.userpfx"
"
$new_pfx
"
git config
"gcc-config.userpfx"
"
$new_pfx
"
# This entry needs to come last, so unset it now, then reset it after the updates.
git config
--unset
"remote.
${
upstream
}
.push"
"refs/heads/
\\
*:refs/heads/
\\
*"
echo
"Setting up tracking for personal namespace
$remote_id
in remotes/
$upstream
/
${
new_pfx
}
"
echo
"Setting up tracking for personal namespace
$remote_id
in remotes/
$upstream
/
${
new_pfx
}
"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/users/
${
remote_id
}
/heads/*:refs/remotes/
${
upstream
}
/
${
new_pfx
}
/*"
":refs/remotes/
${
upstream
}
/
${
old_pfx
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/users/
${
remote_id
}
/heads/*:refs/remotes/
${
upstream
}
/
${
new_pfx
}
/*"
":refs/remotes/
${
upstream
}
/
${
old_pfx
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/users/
${
remote_id
}
/tags/*:refs/tags/
${
new_pfx
}
/*"
":refs/tags/
${
old_pfx
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/users/
${
remote_id
}
/tags/*:refs/tags/
${
new_pfx
}
/*"
":refs/tags/
${
old_pfx
}
/"
git config
--replace-all
"remote.
${
upstream
}
.push"
"refs/heads/
${
new_pfx
}
/*:refs/users/
${
remote_id
}
/heads/*"
"^
\+
?refs/heads/
${
old_pfx
}
/"
git config
--replace-all
"remote.
${
upstream
}
.push"
"refs/heads/
${
new_pfx
}
/*:refs/users/
${
remote_id
}
/heads/*"
"^
\+
?refs/heads/
${
old_pfx
}
/"
# Re-add the line deleted above.
git config
--add
"remote.
${
upstream
}
.push"
"refs/heads/*:refs/heads/*"
contrib/git-fetch-vendor.sh
View file @
11b81575
...
@@ -14,13 +14,9 @@ then
...
@@ -14,13 +14,9 @@ then
exit
1
exit
1
fi
fi
# This entry needs to come last, so unset it now, then reset it after the updates.
git config
--unset
"remote.
${
upstream
}
.push"
"refs/heads/
\\
*:refs/heads/
\\
*"
echo
"setting up git to fetch vendor
${
vendor
}
to remotes/
${
upstream
}
/
${
vendor
}
"
echo
"setting up git to fetch vendor
${
vendor
}
to remotes/
${
upstream
}
/
${
vendor
}
"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"refs/vendors/
${
vendor
}
/heads/*:refs/remotes/
${
upstream
}
/
${
vendor
}
/*"
":refs/remotes/
${
upstream
}
/
${
vendor
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/vendors/
${
vendor
}
/heads/*:refs/remotes/
${
upstream
}
/
${
vendor
}
/*"
":refs/remotes/
${
upstream
}
/
${
vendor
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/vendors/
${
vendor
}
/tags/*:refs/tags/
${
vendor
}
/*"
":refs/tags/
${
vendor
}
/"
git config
--replace-all
"remote.
${
upstream
}
.fetch"
"+refs/vendors/
${
vendor
}
/tags/*:refs/tags/
${
vendor
}
/*"
":refs/tags/
${
vendor
}
/"
git config
--replace-all
"remote.
${
upstream
}
.push"
"refs/heads/
${
vendor
}
/*:refs/vendors/
${
vendor
}
/heads/*"
"^
\+
?refs/heads/
${
vendor
}
/"
git config
--replace-all
"remote.
${
upstream
}
.push"
"+refs/heads/
${
vendor
}
/*:refs/vendors/
${
vendor
}
/heads/*"
"^
\+
refs/heads/
${
vendor
}
/"
# Re-add the line deleted above.
git config
--add
"remote.
${
upstream
}
.push"
"refs/heads/*:refs/heads/*"
git fetch
git fetch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment