charliecloud icon indicating copy to clipboard operation
charliecloud copied to clipboard

ch-image: build cache: move git repo out-of-band in a separate directory

Open j-ogas opened this issue 3 years ago • 1 comments

See #1255.

j-ogas avatar Feb 20 '22 04:02 j-ogas

Currently, the git repository for each image is stored in-band in the standard location, .git at the top of the working directory. This prevents the image from having any files named .git at the top level. We could instead put the repo somewhere else, using GIT_DIR and GIT_WORK_TREE environment variables (or --git-dir and --git-work-tree).

reidpr avatar Apr 11 '22 23:04 reidpr

Issue #1541 describes actual breakage caused by this.

reidpr avatar Feb 27 '23 21:02 reidpr

.gitignore could go in bucache/info/exclude.

reidpr avatar Feb 27 '23 21:02 reidpr