mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
remove dbg
This commit is contained in:
parent
aea8725d1a
commit
9cfc4a549a
1 changed files with 0 additions and 2 deletions
|
|
@ -33,8 +33,6 @@ pub fn reset_workdir(repo_path: &str, path: &Path) -> bool {
|
||||||
// Note: early out for removing untracked files, due to bug in checkout_head code:
|
// Note: early out for removing untracked files, due to bug in checkout_head code:
|
||||||
// see https://github.com/libgit2/libgit2/issues/5089
|
// see https://github.com/libgit2/libgit2/issues/5089
|
||||||
if let Ok(status) = repo.status_file(&path) {
|
if let Ok(status) = repo.status_file(&path) {
|
||||||
dbg!(status);
|
|
||||||
|
|
||||||
let removed_file_wd = if status == Status::WT_NEW
|
let removed_file_wd = if status == Status::WT_NEW
|
||||||
|| (status == Status::WT_MODIFIED | Status::INDEX_NEW)
|
|| (status == Status::WT_MODIFIED | Status::INDEX_NEW)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue