Add special token to gkcommit commit messages so that the SVN
pre-commit hook doesn't try to re-close tickets that are referred to in the original SVN commit messages. This commit was SVN r24981.
Этот коммит содержится в:
родитель
7b18ab2fa9
Коммит
cebd1837e5
6
contrib/dist/gkcommit.pl
поставляемый
6
contrib/dist/gkcommit.pl
поставляемый
@ -238,7 +238,11 @@ foreach my $cmr (@cmrs) {
|
||||
}
|
||||
print FILE "\n";
|
||||
|
||||
# If we have r numbers, print them
|
||||
# If we have r numbers, print them. Use a special line to make the
|
||||
# pre-commit hook ignore all of these messages (i.e., so that it
|
||||
# doesn't try to close some ticket twice, or something like that).
|
||||
print FILE "---svn-pre-commit-ignore-below---\n"
|
||||
if ($#rs >= 0);
|
||||
foreach my $r (@rs) {
|
||||
print FILE "r$r
|
||||
$logentries->{$r}->{msg}\n\n";
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user