git-download: Don't assume the working directory is the parent of ".git".
authorMarius Bakke <mbakke@fastmail.com>
Sat, 15 Sep 2018 09:53:40 +0000 (11:53 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Tue, 25 Sep 2018 22:33:00 +0000 (00:33 +0200)
commit280fc8351230a8fea086d9bbce919ba8395f312c
treead9e2e059cc3990ed0595da1b12dee0374be6067
parent88268a34bc76c88c5c5e4ecc244924f3c8503d16
git-download: Don't assume the working directory is the parent of ".git".

This makes it do the right thing w.r.t. git worktrees.

* guix/git-download.scm (git-file-list): Use REPOSITORY-WORKING-DIRECTORY to
locate checkout.  Rename from "top" to "workdir".
guix/git-download.scm