git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH 0/2] Make git branch -f forceful
@ 2014-12-04 13:26 Michael J Gruber
  2014-12-04 13:26 ` [RFC/PATCH 1/2] t3200-branch: test -M Michael J Gruber
  2014-12-04 13:26 ` [RFC/PATCH 2/2] branch: allow -f with -m and -d Michael J Gruber
  0 siblings, 2 replies; 9+ messages in thread
From: Michael J Gruber @ 2014-12-04 13:26 UTC (permalink / raw)
  To: git

For many git commands, '-f/--force' is a way to force actions which
would otherwise error out. Way more than once, I've been trying this
with 'git branch -d' and 'git branch -m'...

I've had these two patches sitting in my tree for 3 years now it seems.
Here's a rebase.

Before applying these for food I should probably rename force_create to force.

Michael J Gruber (2):
  t3200-branch: test -M
  branch: allow -f with -m and -d

 builtin/branch.c  |  9 +++++++--
 t/t3200-branch.sh | 14 ++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

-- 
2.2.0.rc3.286.g888a711

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-08 16:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 13:26 [RFC/PATCH 0/2] Make git branch -f forceful Michael J Gruber
2014-12-04 13:26 ` [RFC/PATCH 1/2] t3200-branch: test -M Michael J Gruber
2014-12-04 13:26 ` [RFC/PATCH 2/2] branch: allow -f with -m and -d Michael J Gruber
2014-12-04 19:13   ` Junio C Hamano
2014-12-05 10:57     ` Michael J Gruber
2014-12-05 18:02       ` Junio C Hamano
2014-12-08 16:28         ` [PATCHv2 0/2] Make git branch -f forceful Michael J Gruber
2014-12-08 16:28           ` [PATCHv2 1/2] t3200-branch: test -M Michael J Gruber
2014-12-08 16:28           ` [PATCHv2 2/2] branch: allow -f with -m and -d Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).