auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] [PATCH] Fix small errors in doc string and comment


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] [PATCH] Fix small errors in doc string and comment
Date: Fri, 15 Apr 2016 14:58:11 +0200

Hi Ikumi,

2016-04-15 8:57 GMT+02:00 Ikumi Keita <address@hidden>:
> Hi all,
>
> After installing git and playing a little with `git format-patch', I
> began to realize that the requested format isn't so complicated.  If I
> understand correctly, the format is basically a patch with meta data
> embedded in the email style headers like From:, Date: and so on.  Right?

Yes, correct.  What's most useful about patches produced with git
format-patch is that they have a header with author name and commit
message, so we can commit the whole changeset with

    $ git am /path/to/patch(es)

and automatically create commits preserving the information in the
header, without further manual action on our side.  In this way you
can also provide a bunch of different commits that can be installed
all at once with a single and very simple command.

A simple diff can always be applied with

    $ git apply

or even with the patch utility, but after that we have also to
manually stage and commit the changes, modifying the author and adding
the commit message you provide (this is what I had to do with your
previous patch).  And we have to repeat this for every single patch,
if you send a bunch of them.

> Then, contrary to my previous observation, `hg email' did almost the
> right job.  The attached file is produced by `hg email --git --plain
> --to dummy --mbox FILE_NAME -r REVISION'.  Could you check whether it is
> compatible enough for your work flow?

I am able to install that patch with "git am", great!  BTW, should we
actually do so?

Bye,
Mosè



reply via email to

[Prev in Thread] Current Thread [Next in Thread]