-
When either of two files changes, I need to run a process on both files and update both of them for that commit. I have a script that is working that is using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See the contrib/filter-repo-demos/lint-history example, particularly the lint_with_real_filenames() function and cat_file_process variable. It uses the cat_file_process to read blobs from the git history by blob id. You could also pass it <commit_id>:<relative/file/path> instead of <blob_id> just as well. |
Beta Was this translation helpful? Give feedback.
See the contrib/filter-repo-demos/lint-history example, particularly the lint_with_real_filenames() function and cat_file_process variable. It uses the cat_file_process to read blobs from the git history by blob id. You could also pass it <commit_id>:<relative/file/path> instead of <blob_id> just as well.