summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-11-19 18:48:51 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-24 14:51:43 -0800
commit462e1f51a5648ce9d7ca26d44ed86327c454889a (patch)
tree707e467d61bc510550db428614038fa277a0c18b /trace.c
parentvcs-svn: Unclutter handle_node by introducing have_props var (diff)
downloadtgif-462e1f51a5648ce9d7ca26d44ed86327c454889a.tar.xz
vcs-svn: Use mark to indicate nodes with included text
Allocate a mark if needed as soon as possible so later code can use "if (mark)" to check if this node has text attached rather than explicitly checking for Text-content-length. While at it, reject directory nodes with text attached; the presence of such a node would indicate a bug in the dump generator or svn-fe's understanding. In the long term, it would be nice to be able to continue parsing and save the error for later, but for now it is simpler to error out right away. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions