Re: Feature request: Configurable prefixes for git commit --fixup and --squash

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

 



> [ Please, don't top-post on this list ]

Sorry (*^.^*)

> It won't match if you put it in the subject line, but John's proposal is
to put it at the bottom (i.e. in the body). This won't disturb "git
rebase --autosquash".

For some reason I did not even consider the bottom. Tried and it
works! Thanks! I will integrate this into my workflow (and try to get
other contributors to our project to do the same).

>> Maybe another approach could be to allow for a configuration of a
>> string that is ignored when matching the commit messages in `git
>> rebase`.
>
> I wish I could write commit messages like
>
> fixup! deadbeef: fix typo (foo -> bar)
>
> So that the commit message contains both the instruction for "rebase
> --autosquash" and a quick explanation of what the commit is doing (as
> usual commit messages).
>
> AFAIK, it's not possible currently but shouldn't be hard to implement.

I would love that, too :-). This differs however from the original
intent of my feature request. So maybe we finish this thread (since my
John's proposal is 100% sufficient for me in that regard) and open a
new one? How are the procedures for this on this list?

Regards,
Martine
--
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]