Re: [PATCH 4/5] branch: skip commit checks when deleting symref branches

2012-10-18 Thread Junio C Hamano
René Scharfe writes: > Before a branch is deleted, we check that it points to a valid > commit. With -d we also check that the commit is a merged; this > check is not done with -D. > > The reason for that is that commits pointed to by branches should > never go missing; if they do then something

[PATCH 4/5] branch: skip commit checks when deleting symref branches

2012-10-18 Thread René Scharfe
Before a branch is deleted, we check that it points to a valid commit. With -d we also check that the commit is a merged; this check is not done with -D. The reason for that is that commits pointed to by branches should never go missing; if they do then something broke and it's better to stop ins