mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
fetchGit: Warn about dirty trees
This commit is contained in:
parent
0802e006f2
commit
bd62290c23
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ GitInfo exportGit(ref<Store> store, std::string uri,
|
||||||
/* This is an unclean working tree. So copy all tracked
|
/* This is an unclean working tree. So copy all tracked
|
||||||
files. */
|
files. */
|
||||||
|
|
||||||
|
warn("Git tree '%s' is dirty", uri);
|
||||||
|
|
||||||
GitInfo gitInfo;
|
GitInfo gitInfo;
|
||||||
gitInfo.ref = "HEAD";
|
gitInfo.ref = "HEAD";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue