Re: Possible feature request for merge and pull

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

 



Avery,

On Wed, Jul 28, 2010 at 4:49 PM, Avery Pennarun <apenwarr@xxxxxxxxx> wrote:
> On Wed, Jul 28, 2010 at 3:34 AM, Ævar Arnfjörð Bjarmason
> <avarab@xxxxxxxxx> wrote:
>> On Wed, Jul 28, 2010 at 01:24, Bradley Wagner
>> <bradley.wagner@xxxxxxxxxxxxxx> wrote:
>>> I would love to be able to use the -m flag and --log together with git
>>> merge and pull to be able to create a custom commit message but also
>>> include one-line summaries of each of the commits being merged/pulled.
>>
>> This sort of thing has vaguely come up before, and it was mentioned
>> that you can just use a small script that calls git-filter-branch or
>> git-rebase -i.
>>
>> It's easy to rewrite the commits you just pulled, having some feature
>> that e.g. adds a custom message to the beginning of each of them would
>> just impose an artificial limitation and overlap with existing (and
>> more powerful) functionality.
>
> If I understand correctly, the request is not to rewrite the pulled
> commits, but just to produce a nice message in the newly-created merge
> commit.

Yes, that's correct.

> It sounds like --log and -m are currently incompatible, in that -m
> overrides --log, and that's not the desired behaviour.

Correct, I can't remember which overrides which but basically it's as
if you just used one of them. Also, git pull doesn't appear to take a
-m flag at all.

> Bradley: this
> is probably a relatively easy fix to make, in case you're looking to
> get into some git hacking. :)

Nice, I may check that out.

>
> Have fun,
>
> Avery
>



-- 
Hannon Hill - Put Us to the Test
bradley.wagner@xxxxxxxxxxxxxx | http://www.hannonhill.com
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]