urepo: Git dir fix

git-svn-id: svn://ultimatepp.org/upp/trunk@13612 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-09-21 18:27:53 +00:00
parent 8ab637701c
commit 4bc167e423

View file

@ -140,6 +140,8 @@ bool RepoSync::ListGit(const String& path)
for(int i = 0; i < ln.GetCount(); i++) {
String h = ln[i];
if(h.GetCount() > 3) {
if(!h.TrimEnd("/"))
h.TrimEnd("\\");
String file = AppendFileName(path, h.Mid(3));
actions = true;
int action = String("M.?DR").Find(h[1]);