chiark / gitweb /
Don't use patches/<branch>/current
authorKarl Hasselström <kha@treskal.com>
Sun, 6 May 2007 15:13:44 +0000 (17:13 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 14 May 2007 21:26:18 +0000 (22:26 +0100)
commit532cdf94f80be6fb95682d9673c12a1d1aecf9a0
treeebd7e9e516ef8bd747c84fbc6dcc0a7097e8a8d5
parent8fce9909c0794e1f08020fa99edd63dc40f8e653
Don't use patches/<branch>/current

The name of the current patch, if any, is always the last line of
patches/<branch>/applied (and there is no current patch if and only if
the "applied" file is empty). So use that instead, and stop having to
worry about keeping the redundant "current" file up-to-date.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/stack.py