[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFE] Migration to gitlab
From: |
Juri Linkov |
Subject: |
Re: [RFE] Migration to gitlab |
Date: |
Sat, 23 Mar 2019 23:58:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> But we could accept people sending an email with a URL to a branch in
>> their own repository. I'm not sure how conveniently Git handles that
>> (ideally, I'd like to be able to do something like "git diff URL"), but
>> we could in any case add a VC command to do that.
>
> "git pull" is actually "git fetch" + "git merge" so to check a remote
> repository one would do "git fetch https://...". Then useful comands
> would be
>
> git diff master...FETCH_HEAD # from branches' common base to FETCH_HEAD
> git diff master FETCH_HEAD # between the brances
> git log -p master..FETCH_HEAD # log+patches from the common base to FETCH_HEAD
In bug#33950 we are creating a vc command for this, but the problem is in
Git inconsistency: it uses 3 dots for diff, and 2 dots for log.
> If FETCH_HEAD from a remote url is not merged or turned into a named
> branch the new git objects will eventually be garbage collected.
I didn't know about FETCH_HEAD because vc-git doesn't show it in the
completion list that contains only HEAD. Maybe FETCH_HEAD should be
added to vc-git-revision-table as well?
What other useful ref names are provided by git?
- Re: [RFE] Migration to gitlab, (continued)
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/22
- Re: [RFE] Migration to gitlab, Teemu Likonen, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab,
Juri Linkov <=
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Richard Stallman, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/23
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/23
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/23
- Re: [RFE] Migration to gitlab, Van L, 2019/03/24
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/24
- Re: [RFE] Migration to gitlab, Richard Stallman, 2019/03/23
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22