aboutsummaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-19 18:46:54 -0600
committerJunio C Hamano <gitster@pobox.com>2010-11-24 14:51:42 -0800
commitda3e217447390d52363989474a5e33bd298ff3ad (patch)
treee0dd4b8ac125557ed727f4232b8c3f1235725724 /date.c
parent1d13e9f600986b7ced8db37a9a9c4967ee7ff9d5 (diff)
downloadgit-da3e217447390d52363989474a5e33bd298ff3ad.tar.gz
git-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 'date.c')
0 files changed, 0 insertions, 0 deletions