aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-07-02 14:52:07 +0200
committerLudovic Courtès <ludo@gnu.org>2024-07-18 17:31:19 +0200
commit58e268c2e30567f415fa4e02086e49299c31406a (patch)
tree9196015a611d25d85118876da08b40aaa51b0df3 /Makefile.am
parentfcd3c5d3aa2894218f357d69f7a307ebc3b318bc (diff)
downloadguix-58e268c2e30567f415fa4e02086e49299c31406a.tar.gz
guix-58e268c2e30567f415fa4e02086e49299c31406a.zip
git: Remove untracked files from cached checkouts.
Cached checkouts could end up with stale untracked files, for example because the checkout was interrupted. As a result, when this happens for the Guix checkout, users would not get substitutes for ‘guix pull’. * guix/git.scm (delete-untracked-files): New procedure. (switch-to-ref): Use it. * tests/git.scm ("update-cached-checkout, untracked files removed"): New test. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Iccbe644ade396ad27a037db7e0ef1c2a68ef91ce
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions