chiark / gitweb /
Add a 'bottom' parameter to Series.refresh_patch and use it
authorDavid Kågedal <davidk@lysator.liu.se>
Fri, 14 Sep 2007 22:31:49 +0000 (00:31 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 23 Sep 2007 22:54:06 +0000 (00:54 +0200)
commit6889c93cb0d60acea1af4b490559cc88b4128de5
tree3f822d40b0792d1e706d4248b6e2b08e6eb16a51
parent692c15ef411fc32357d1cd3a4eb6559c8bb93c91
Add a 'bottom' parameter to Series.refresh_patch and use it

By specifying a bottom for the new patch commit, it is no longer
necessary to update the bottom of the patch before calling
refresh_patch.  This ensures that the patch top always correspond to a
commit object, and the bottom to its parent.

Signed-off-by: David Kågedal <davidk@lysator.liu.se>
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/stack.py