Fix update

This commit is contained in:
Laura Hausmann 2023-01-27 16:29:38 +01:00
parent 0613a0abce
commit 8786d9b208
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -178,7 +178,7 @@ namespace repomgr {
var originMaster = repo.Branches["origin/master"]; var originMaster = repo.Branches["origin/master"];
repo.Reset(ResetMode.Hard, originMaster.Tip); repo.Reset(ResetMode.Hard, originMaster.Tip);
repo.RemoveUntrackedFiles(); repo.RemoveUntrackedFiles();
Shell.Exec("git clean -xfd", Path.Combine(_pkgpath, package.Name)); Shell.Exec("git clean -xffd", Path.Combine(_pkgpath, package.Name));
} }
public void ReadIndex() { public void ReadIndex() {
@ -326,4 +326,4 @@ namespace repomgr {
return $"\x1b[90m{s}\x1b[39m"; return $"\x1b[90m{s}\x1b[39m";
} }
} }
} }