liaog / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

repo abandon should wreak less havok when I forget the project path #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
repo did something awesome for me this morning.

    repo abandon libc++

Oops! Forgot to append the '.'! repo kindly wiped out all of the branches I had 
named libc++ all across my tree (I have lots of those).

I think there are two things that should change here:

1. repo prints the projects the branch was deleted in. It should also print the 
SHA of the HEAD of that branch so I can easily get it back if it isn't in my 
reflog.
2. If repo abdondon is run without a direct path to a project, it should prompt 
the user to confirm deletion of each branch.

Original issue reported on code.google.com by danalb...@google.com on 16 Oct 2014 at 4:15