Boost logo

Boost :

Subject: Re: [boost] [git] [filesystem] [system] [timer...] Remove useless SVN branches?
From: Josh Juran (jjuran_at_[hidden])
Date: 2014-08-18 14:54:33


On Aug 18, 2014, at 6:16 AM, Antony Polukhin <antoshkka_at_[hidden]> wrote:

> There are various tools around for making this kind of stuff easier,
> e.g., I have this in my .gitconfig for *local* hiding:
>
> [alias]
> hide = "!f() { git update-ref refs/hidden/$1 $1 && git branch -D $1; }; f"
> unhide = "!f() { git branch $1 && git update-ref $1 refs/hidden/$1; }; f"
> hidden = "!f() { git show-ref | grep hidden; }; f"

The last one will erroneously identify e.g. refs/heads/obfuscate-hidden-entities as a hidden branch. Try `git show-ref | grep " refs/hidden"`

Josh


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk