Skip to content

Commit 584259f

Browse files
committed
Clarify .gitconfig usage in Makefile shell target
Added comment explaining that this file is mounted as /root/.gitconfig by the 'shell' target in the Makefile to provide better context for how this configuration is used in the build process. Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
1 parent a751953 commit 584259f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.gitconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Git configuration for containerized builds
22
#
3-
# This file fixes VCS stamping errors in Podman container environments.
3+
# This file is mounted as /root/.gitconfig in the container by the 'shell'
4+
# target in the Makefile to fix VCS stamping errors in Podman environments.
5+
#
46
# When Docker/Podman mounts the repository, the mount point directory
57
# (/github.com/vmware-tanzu/velero) is owned by root:root but the files
68
# inside are owned by the mapped user. This ownership mismatch triggers

0 commit comments

Comments
 (0)