Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ let
# tree is a valid git repository.
tryFetchGit =
src:
if isGit && !isShallow then
if isGit then
let
res = builtins.fetchGit src;
in
Expand Down Expand Up @@ -160,7 +160,6 @@ let
};
# NB git worktrees have a file for .git, so we don't check the type of .git
isGit = builtins.pathExists (src + "/.git");
isShallow = builtins.pathExists (src + "/.git/shallow");

in
{
Expand Down