diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-03-02 13:05:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-03 12:28:22 +0100 |
commit | 58f20fa8181bdcd4269671e1d3cef1268947af3a (patch) | |
tree | 6d2118e2673b6148984ff44ec6fc24913be4a165 /m4 | |
parent | 4f681cdbc27e6a922f24d4297efe3c0b823195f0 (diff) | |
download | guix-58f20fa8181bdcd4269671e1d3cef1268947af3a.tar.gz guix-58f20fa8181bdcd4269671e1d3cef1268947af3a.zip |
git-download: Apply Git attributes on checkouts coming from SWH.
Fixes a bug whereby CR/LF conversion, for instance, would not be applied
on Git repositories retrieved from SWH:
https://sympa.inria.fr/sympa/arc/swh-devel/2023-03/msg00000.html
Reported by Simon Tournier <simon.tournier@inserm.fr>.
Suggested by Valentin Lorentz <valentin.lorentz@inria.fr>.
Co-authored by Simon Tournier <simon.tournier@inserm.fr>.
* guix/git-download.scm (git-fetch)[build]: Add Git operations conditioned by
'.gitattributes' on the result from SWH.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions