* Git merge commit message issue
@ 2015-07-06 15:41 Andrey Hsiao
2015-07-06 16:08 ` Matthieu Moy
0 siblings, 1 reply; 5+ messages in thread
From: Andrey Hsiao @ 2015-07-06 15:41 UTC (permalink / raw)
To: git
Dear list:
In the past, when we do the merge in git, if conflicts occurred,
when we commit, the conflict list will be appended to
the default commit message automatically.
eg:
Conflicts:
....a.java
....b.java
Today, after using Git 2.3.0 for a merge, it seems now the conflict list
was commented out by default.
I just searched a bit in the release notes,
don't know whether below item has to do with this change.
----
"git interpret-trailers" learned to properly handle the "Conflicts:"
block at the end.
----
We quite rely on the default generated conflict list
to reminder us about the "history".
Is this the default behavior now (conflict list commented out)?
Thanks
Best Regards
^ permalink raw reply [flat|nested] 5+ messages in thread
* Git merge commit message issue
@ 2015-07-06 15:45 Andrey Hsiao
0 siblings, 0 replies; 5+ messages in thread
From: Andrey Hsiao @ 2015-07-06 15:45 UTC (permalink / raw)
To: git
Dear list:
In the past, when we do the merge in git, if conflicts occurred, when
we commit, the conflict list will be appended to the default commit
message automatically.
eg:
Conflicts:
....a.java
....b.java
Today, after using Git 2.3.0 for a merge, it seems now the conflict
list was commented out by default.
I just searched a bit in the release notes, don't know whether below
item has to do with this change.
----
"git interpret-trailers" learned to properly handle the "Conflicts:"
block at the end.
----
We quite rely on the default generated conflict list to reminder us
about the "history".
Is this the default behavior now (conflict list commented out)?
Thanks
Best Regards
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Git merge commit message issue
2015-07-06 15:41 Andrey Hsiao
@ 2015-07-06 16:08 ` Matthieu Moy
2015-07-06 16:16 ` Andrey Hsiao
0 siblings, 1 reply; 5+ messages in thread
From: Matthieu Moy @ 2015-07-06 16:08 UTC (permalink / raw)
To: Andrey Hsiao; +Cc: git
Andrey Hsiao <andreyhsiao@gmail.com> writes:
> Dear list:
>
> In the past, when we do the merge in git, if conflicts occurred,
> when we commit, the conflict list will be appended to
> the default commit message automatically.
>
> eg:
> Conflicts:
> ....a.java
> ....b.java
>
> Today, after using Git 2.3.0 for a merge, it seems now the conflict list
> was commented out by default.
Yes, this changed here:
https://github.com/git/git/commit/261f315bebfa9af2d09f20211960100ff06f87cb
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Git merge commit message issue
2015-07-06 16:08 ` Matthieu Moy
@ 2015-07-06 16:16 ` Andrey Hsiao
2015-07-06 16:33 ` Matthieu Moy
0 siblings, 1 reply; 5+ messages in thread
From: Andrey Hsiao @ 2015-07-06 16:16 UTC (permalink / raw)
To: Matthieu Moy; +Cc: git
It was a bit sad since we use scripts to do the merge, then we can
check the conflict list in the log message, and assign to separate
owners to resolve them.
Would it be possible to make it as an config option?
On Tue, Jul 7, 2015 at 12:08 AM, Matthieu Moy
<Matthieu.Moy@grenoble-inp.fr> wrote:
> Andrey Hsiao <andreyhsiao@gmail.com> writes:
>
>> Dear list:
>>
>> In the past, when we do the merge in git, if conflicts occurred,
>> when we commit, the conflict list will be appended to
>> the default commit message automatically.
>>
>> eg:
>> Conflicts:
>> ....a.java
>> ....b.java
>>
>> Today, after using Git 2.3.0 for a merge, it seems now the conflict list
>> was commented out by default.
>
> Yes, this changed here:
>
> https://github.com/git/git/commit/261f315bebfa9af2d09f20211960100ff06f87cb
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Git merge commit message issue
2015-07-06 16:16 ` Andrey Hsiao
@ 2015-07-06 16:33 ` Matthieu Moy
0 siblings, 0 replies; 5+ messages in thread
From: Matthieu Moy @ 2015-07-06 16:33 UTC (permalink / raw)
To: Andrey Hsiao; +Cc: git
[ Please, don't top-post on this list ]
Andrey Hsiao <andreyhsiao@gmail.com> writes:
> It was a bit sad since we use scripts to do the merge, then we can
> check the conflict list in the log message, and assign to separate
> owners to resolve them.
>
> Would it be possible to make it as an config option?
If a script is doing the merge, then I guess you can let your script add
the entry in .git/MERGE_MSG (based on something like 'git ls-files -u'
or 'git status --porcelain | grep ^U'). This way, your script would work
with any version of Git.
Having a config option to restore the old behavior would make sense to
me at least. I guess it falls in the category "patches welcome".
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-06 16:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 15:45 Git merge commit message issue Andrey Hsiao
-- strict thread matches above, loose matches on Subject: below --
2015-07-06 15:41 Andrey Hsiao
2015-07-06 16:08 ` Matthieu Moy
2015-07-06 16:16 ` Andrey Hsiao
2015-07-06 16:33 ` Matthieu Moy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).