summaryrefslogtreecommitdiff
path: root/unpack-trees.h
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-08-13 12:29:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-14 19:40:09 (GMT)
commit8f0bef6df91c48d79f982bdb55f784ce445ba5b2 (patch)
treea5393f2484c478f9c91a1abf25605e4aa19cc088 /unpack-trees.h
parent6517452d7a4269e9a34648a28b8931640299f458 (diff)
downloadgit-8f0bef6df91c48d79f982bdb55f784ce445ba5b2.zip
git-8f0bef6df91c48d79f982bdb55f784ce445ba5b2.tar.gz
git-8f0bef6df91c48d79f982bdb55f784ce445ba5b2.tar.bz2
git-apply--interactive: Refactor patch mode code
This makes some aspects of the 'git add -p' loop configurable (within the code), so that we can later reuse git-add--interactive for other similar tools. Most fields are fairly straightforward, but APPLY gets a subroutine (instead of just a string a la 'apply --cached') so that we can handle 'checkout -p', which will need to atomically apply the patch twice (index and worktree). Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions