rs/ref-transaction
taga9fe86d1f3d60167eaaba0ebe14cd0aa4ee96194
object f047c37817c5e9945cb25175ed16a9272f75f863
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 14 Oct 2014 23:40:53 +0000 (14 16:40 -0700)
"Use ref transactions", part 3

Ronnie explains:

This is the third and final part of the original 48 patch
series for basic transaction support.  This version implements
some changes suggested by mhagger for the warn_if_unremovable
changes.  It also adds a new patch "fix handling of badly
named refs" that repairs the handling of badly named refs.

This includes some improvements to the transaction API (in
particular allowing different reflog messages per ref update in
a transaction), some cleanups and consistency improvements, and
preparation for an implementation of ref renaming in terms of
the transaction API.

It also improves handling of refs with invalid names.  Today "git
branch --list" and "git for-each-ref" do not provide a way to discover
refs with invalid names and "git branch -d" and "git update-ref -d"
cannot delete them.  After this series, such bad refs will be
discoverable and deletable again as in olden times.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJUPbSYAAoJEN/Gce6zM/olMvYP/joOlegaj1LZsNA8M7mZ1fX1
aiA5i3zsgsW9RDrZ1W+Yh+lEOa4HIUYG2JBdIzUMrlWusSeJrumvx5ZnUT6kXezz
M91fZwassi4DN7juzWkVJ9QyoUa3XuCPTQzbDk80ZknwTm1bjivFrkYEvnU7Bprj
QZYD9MnsoEwlOXG2ReuFitoinyRICjDObINdvNsSl2jU9VpZxO4vSkD1fDZ6pHgl
uYELD2T+ut8zJzbKLXpimCEj5VZlMdE3/bASWYeDnEXq9p+lUaB+cjawDrxckr6U
sqXmc3Amx8N+mEnNAEZTIPrEjgCMADqxD/He2gIBBP3MqWI2U73gE12UvX8rRrro
9LZALcJAUyK7esTCYcl6iHcMObdBPAG3s3H2UVcDecDP3nuUkoAFUmZ6f5stNg3R
EoLg9x6IPhR9qSjxX4hN5SROrgCF7Q025U/nQz/GQjQD9leFSOhuZe58aVSz2Y0v
yN9uhuboRC5wJk0iHx0ldPniA1wLaMwo17L3/qD0v/Y6xPHlVXM3i5u/tH89H9qQ
fgGy6zTJaOP3M6lPj27ecKYkGmrApf+C3422tWgh8law+N5U2bHZAufpDe6FrvtP
0+UrU7CMni4tkCtb1pnYtoPpIw49W2TViExc09nqtPEEFtwf1SpX02rcW87IMLPt
+NASISeXjctHZ1OUy2UH
=8PJ5
-----END PGP SIGNATURE-----