You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since --- is the delimiter used by git am to separate between the actual diff and the commit message, when the above patch is applied using git am <11474.patch>, the new commit does not have the content from updated-dependencies and the Signed-off-by section. After applying patch
commit 7d4cc9706cd4765e0838f41c67cb1e6d5b86e4e8 (HEAD -> main)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue Mar 4 07:34:23 2025 +0000
build(deps): bump containerd/project-checks from 1.1.0 to 1.2.1
Bumps [containerd/project-checks](https://github.com/containerd/project-checks) from 1.1.0 to 1.2.1.
- [Commits](https://github.com/containerd/project-checks/compare/434a07157608eeaa1d5c8d4dd506154204cd9401...800740a80e93c309f9a40903ce26d749ad0909ec)
Is there an option to use custom delimiters in the commit message so this issue can be avoided.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using dependabot enabled via Github. The messages in the commits generated by dependabot has
---
used to separate between message andupdated-dependencies
section. Ref: https://patch-diff.githubusercontent.com/raw/containerd/containerd/pull/11474.patchSince
---
is the delimiter used bygit am
to separate between the actual diff and the commit message, when the above patch is applied usinggit am <11474.patch>
, the new commit does not have the content fromupdated-dependencies
and theSigned-off-by
section. After applying patchIs there an option to use custom delimiters in the commit message so this issue can be avoided.
Beta Was this translation helpful? Give feedback.
All reactions