fetchGit: Warn about dirty trees

This commit is contained in:
Eelco Dolstra 2019-07-12 12:59:00 +02:00
parent 0802e006f2
commit bd62290c23
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

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";