summaryrefslogtreecommitdiff
path: root/userdiff.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-24 09:46:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-25 22:28:28 (GMT)
commit2deda629c2ab7228790fb7561e66515a9bdcf7b6 (patch)
tree9b961e2d8daa2487c5fcdacc6fe20e763f8e414c /userdiff.h
parent36857e0026f5a7855f941a955bf7014408a816dd (diff)
downloadgit-2deda629c2ab7228790fb7561e66515a9bdcf7b6.zip
git-2deda629c2ab7228790fb7561e66515a9bdcf7b6.tar.gz
git-2deda629c2ab7228790fb7561e66515a9bdcf7b6.tar.bz2
replace: add a --raw mode for --edit
One of the purposes of "git replace --edit" is to help a user repair objects which are malformed or corrupted. Usually we pretty-print trees with "ls-tree", which is much easier to work with than the raw binary data. However, some forms of corruption break the tree-walker, in which case our pretty-printing fails, rendering "--edit" useless for the user. This patch introduces a "--raw" option, which lets you edit the binary data in these instances. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.h')
0 files changed, 0 insertions, 0 deletions