Add prune-safety to StGIT
authorCatalin Marinas <catalin.marinas@gmail.com>
Mon, 13 Feb 2006 16:54:09 +0000 (16:54 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 13 Feb 2006 19:06:54 +0000 (19:06 +0000)
commit844a164019385f19d8607754b3ae130eee1dfd89
tree70f968dd8b294742237ca1c9c70cd4bd41290895
parent0a01a6d0eaf0c6a70819da2f73fc659e7a83b569
Add prune-safety to StGIT

The top of each patch will also be stored in the .git/refs/patches/branch/
directory so that tools commands like git prune would not destroy the
unapplied patches. Since there is no support for patch history at the
moment, a git prune command would remove all the previous versions of a
patch (which were no longer accessible anyway).

The old repositories are automatically upgraded.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/stack.py