forked from lix-project/lix
fetchGit: Warn about dirty trees
This commit is contained in:
parent
0802e006f2
commit
bd62290c23
|
@ -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