mbox series

[0/3] warn when unreachable commits are left behind

Message ID f702476a-543a-da9b-ccd9-4431c80471e1@gmail.com (mailing list archive)
Headers show
Series warn when unreachable commits are left behind | expand

Message

Rubén Justo April 22, 2023, 10:10 p.m. UTC
Warn the user when unreachable commits are being left behind.

Rubén Justo (3):
  checkout: move orphaned_commit_warning()
  worktree: warn when removing a worktree with orphan commits
  checkout: warn when unreachable commits after using --orphan

 builtin/checkout.c         | 132 ++-----------------------------------
 builtin/worktree.c         |   8 +++
 checkout.c                 | 132 +++++++++++++++++++++++++++++++++++++
 checkout.h                 |  10 +++
 t/t2020-checkout-detach.sh |   9 +++
 t/t2403-worktree-move.sh   |  10 +++
 6 files changed, 175 insertions(+), 126 deletions(-)


base-commit: b28a910c4c1e6d7cbdc0663e75c2f5bc6b11eb20