Hi,

felixs wrote:
> On Thu, Mar 28, 2019 at 03:11:34PM -0700, Kevin J. McCarthy wrote:
>> On Thu, Mar 28, 2019 at 10:20:54PM +0100, felixs wrote:
>>> I tried to access the branch with the patch, but the access is
>>> password-protected.
>> 
>> The repo is clonable via <https://gitlab.com/muttmua/mutt.git>, which you
>> will find under the clone button on the project details page.
> 
> Yes, I did that as a first operation 2 or 3 days ago, assuming that the patch
> was part of it. To better visualize the repo I have been working on
> setting up gitweb functionality by means of a web server. At the moment,
> I'm still getting 403 forbidden when connecting to localhost, but I
> think I'll get it done.

It may be easier to use a graphical interface like gitk  to
view the repository outside of the command line than setting
up gitweb.  tig, a console repository viewer, is also quite
handy.

Alternately, the 'git instaweb' command can spawn gitweb for
a single repository fairly easily.  It can use a number of
different web servers, lighttpd is one of the simplest --
requiring no manual configuration.

>> If you open a particular commit, the options button has "Email patches" and
>> "Plain diff" views.  So, for example the commit in question is available via 
>> <https://gitlab.com/muttmua/mutt/commit/a646d867b67bae327a9e5fc0301da5fa73450c68.patch>
>> and 
>> <https://gitlab.com/muttmua/mutt/commit/a646d867b67bae327a9e5fc0301da5fa73450c68.diff>
>  Ok, thanks. Now it's confirmed that the patch/diff is in a separate
>  repository (not master, which I cloned). I'll get and test it. 

I know Kevin already clarified this in another reply, but
perhaps some additional details will help.

The fix is simply on a different branch.  You can -- with
any git release from the past few years -- checkout an
upstream branch pretty easily.  For this patch on the branch
kevin/stable-oauth-fix, you could use:

    $ git checkout kevin/stable-oauth-fix
    Branch 'kevin/stable-oauth-fix' set up to track remote
    branch 'kevin/stable-oauth-fix' from 'origin'.
    Switched to a new branch 'kevin/stable-oauth-fix'

If you don't already have a repo cloned and want to clone a
specific branch, you can do that as well with the --branch
option to 'git clone', e.g.:

    $ git clone --branch kevin/stable-oauth-fix \
      https://gitlab.com/muttmua/mutt.git

Hope this helps (and isn't too far off-topic). :)

-- 
Todd

Attachment: signature.asc
Description: PGP signature

Reply via email to