ALT Linux Bugzilla
– Attachment 4195 Details for
Bug 17914
[FR] поддержка submodules
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Вариант 1
git-submodule-subtree (text/plain), 377 bytes, created by
Alexey Gladkov
on 2010-01-11 22:07:14 MSK
(
hide
)
Description:
Вариант 1
Filename:
MIME Type:
Creator:
Alexey Gladkov
Created:
2010-01-11 22:07:14 MSK
Size:
377 bytes
patch
obsolete
>#!/bin/ash -efu > >git submodule init >git submodule status | cut -d' ' -f2 | >while read path; do > url="$(git config --get "submodule.$path.url")" > git remote add -f "$path" "$url" > git merge -s ours --no-commit "$path"/master > git read-tree --prefix="$path" -u "$path"/master > git commit -m "Merge '$path' as our subdirectory" > git config --remove-section "submodule.$path" >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 17914
:
3480
| 4195 |
4196
|
4197
|
4398