Re: [PATCH] branch: add support for --dry-run option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Kuleshov schrieb am 17.01.2015 um 08:35:
> This patch adds support -d/--dry-run option for branch(es) deletion.
> If -d/--dry-run option passed to git branch -d branch..., branch(es)
> will not be removed, instead just print list of branches that are
> to be removed.
> 
> For example:
> 
>     $ git branch
>     a
>     b
>     c
>     * master
> 
>     $ git branch -d -n a b c
>     delete branch 'a' (261c0d1)
>     delete branch 'b' (261c0d1)
>     delete branch 'c' (261c0d1)

Is there a case where deleting "a b c" would not delete "a b c"?

In other words: What new information does a dry-run give the user, other
than what "branch --list -v" would give already? (We could need a
shortcut on the latter, but that is a different topic.)

Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]