fetchGit: Warn about dirty trees

This commit is contained in:
Eelco Dolstra
2019-07-12 12:59:00 +02:00
parent 0802e006f2
commit bd62290c23
+2
View File
@@ -46,6 +46,8 @@ GitInfo exportGit(ref<Store> store, std::string uri,
/* This is an unclean working tree. So copy all tracked
files. */
warn("Git tree '%s' is dirty", uri);
GitInfo gitInfo;
gitInfo.ref = "HEAD";