From: Karl Hasselström Date: Sun, 7 Oct 2007 18:56:05 +0000 (+0200) Subject: Make "stg push" subdirectory safe X-Git-Tag: v0.14~50 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/89d889f42f6b0081c5e9e80b8b470d6770ff1e82?hp=89d889f42f6b0081c5e9e80b8b470d6770ff1e82 Make "stg push" subdirectory safe Make "stg push" subdirectory safe by letting it internally cd up to the top of the worktree. This is possibly not the best long-term fix; one could argue that the push subroutine should instead be safe to run from a subdirectory. However, pushing from a subdirectory currently erases the parts of a patch that doesn't touch that subdirectory, and that has to be fixed. Signed-off-by: Karl Hasselström ---