8000 checkout: notify for deleted files · libgit2/libgit2@a4a19be · GitHub
[go: up one dir, main page]

Skip to content

Commit a4a19be

Browse files
committed
checkout: notify for deleted files
1 parent 21a351b commit a4a19be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libgit2/checkout.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ static int checkout_action_common(
279279
notify = GIT_CHECKOUT_NOTIFY_UPDATED;
280280
}
281281

282+
if ((*action & CHECKOUT_ACTION__REMOVE) != 0)
283+
notify = GIT_CHECKOUT_NOTIFY_UPDATED;
284+
282285
if ((*action & CHECKOUT_ACTION__CONFLICT) != 0)
283286
notify = GIT_CHECKOUT_NOTIFY_CONFLICT;
284287

0 commit comments

Comments
 (0)
0