diff options
author | 2010-11-19 18:46:54 -0600 | |
---|---|---|
committer | 2010-11-24 14:51:42 -0800 | |
commit | da3e217447390d52363989474a5e33bd298ff3ad (patch) | |
tree | e0dd4b8ac125557ed727f4232b8c3f1235725724 /t/t3901-utf8.txt | |
parent | vcs-svn: Eliminate node_ctx.srcRev global (diff) | |
download | tgif-da3e217447390d52363989474a5e33bd298ff3ad.tar.xz |
vcs-svn: Eliminate node_ctx.mark global
The mark variable is only used in handle_node(). Its life is
very short and simple: first, a new mark number is allocated if
this node has text attached, then that mark is recorded in the
in-core tree being built up, and lastly the mark is communicated
to fast-import in the stream along with the associated text.
A new reader may worry about interaction with other code, especially
since mark is not initialized to zero in handle_node() itself.
Disperse such worries by making it local. No functional change
intended.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3901-utf8.txt')
0 files changed, 0 insertions, 0 deletions