diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-19 18:48:51 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 14:51:43 -0800 |
commit | 462e1f51a5648ce9d7ca26d44ed86327c454889a (patch) | |
tree | 707e467d61bc510550db428614038fa277a0c18b /log-tree.h | |
parent | vcs-svn: Unclutter handle_node by introducing have_props var (diff) | |
download | tgif-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 'log-tree.h')
0 files changed, 0 insertions, 0 deletions