Help for git in submodules

Norbert Thiebaud nthiebaud at gmail.com
Thu Dec 20 13:35:11 PST 2012


On Thu, Dec 20, 2012 at 1:58 PM, Olivier Hallot
<olivier.hallot at documentfoundation.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> I followed the instructions in
> https://wiki.documentfoundation.org/Development/Submodules to update
> dictionaries.
>
> my branch is named "my_branch". Hacks and commit done. However, here is
> what I get on push:
>
> - --------------%<-----------------
>
> tdf at olivier-Vostro-3500:~/git/core/dictionaries$ git push origin
> my_branch:refs/for/master
> fatal: The remote end hung up unexpectedly
>
> - --------------%<-----------------
>
> and here is my .git/config
>
> - --------------%<-----------------
>
> tdf at olivier-Vostro-3500:~/git/core/dictionaries$ cat ../.git/config

that is the git config of your core repo, not dictionaries.

your dictionnary git config is under

~/git/core/.git/modules/dictionaries/config

or

~/git/core/dictionaries/.git/config if you have a 'old' git version

It is _that_ config that need to have a proper pushurl= pointing to gerrit

While on the subject. Please _do_ use pushurl=ssh://  and url=git://
as to not do unnecessary ssh overhead to the server for pull/fetch request...

Norbert


More information about the LibreOffice mailing list