Notify when a patch was modified during a push operation
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 27 Oct 2005 19:47:24 +0000 (20:47 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 27 Oct 2005 19:47:24 +0000 (20:47 +0100)
commit718a5e51af4cce124b9cc1e03db8706bc2c773dc
treee241a5be65bbef7d5851fc063d1d1e9e4e6c1937
parent962ef1c731f01f4d6c146c2af88d69fcc7d023a9
Notify when a patch was modified during a push operation

The logic of this is that when a "git-diff | git-apply" succeeds, the patch
is reported as unmodified. If the the above operation fails and the command
falls back to a three-way merge, the patch will be reported as modified.

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