summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-11-19 18:46:54 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-24 14:51:42 -0800
commitda3e217447390d52363989474a5e33bd298ff3ad (patch)
treee0dd4b8ac125557ed727f4232b8c3f1235725724 /help.c
parentvcs-svn: Eliminate node_ctx.srcRev global (diff)
downloadtgif-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 'help.c')
0 files changed, 0 insertions, 0 deletions