Skip to content

Commit

Permalink
checkout: notify for deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Jul 22, 2022
1 parent 22f3825 commit fd4e569
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libgit2/checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ static int checkout_action_common(
notify = GIT_CHECKOUT_NOTIFY_UPDATED;
}

if ((*action & CHECKOUT_ACTION__REMOVE) != 0)
notify = GIT_CHECKOUT_NOTIFY_UPDATED;

if ((*action & CHECKOUT_ACTION__CONFLICT) != 0)
notify = GIT_CHECKOUT_NOTIFY_CONFLICT;

Expand Down

0 comments on commit fd4e569

Please sign in to comment.