Re: [PATCH 3/3] Make old sha1 optional with git update-ref -d
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 26, 2008, 10:51 UTC
- Message-ID
- <alpine.DEB.1.00.0805261149310.30431@racer>
- In-Reply-To
- <20080525161440.25087.83011.stgit@yoghurt>
Hi,
On Sun, 25 May 2008, Karl Hasselström wrote:
> Giving the old sha1 is already optional when changing a ref, and it's > quite handy when running update-ref manually. So make it optional for > deleting a ref too.
Isn't this a bit dangerous, especially given that there is potentially _no_ reflog as a safeguard?
So no, it is not the same as when changing a ref.
I am mildly negative on this (having lost some remote branches, because they were deleted _together with the reflogs_ by "git push bla :x"), Dscho