diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-19 18:46:22 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 14:51:42 -0800 |
commit | 1d13e9f600986b7ced8db37a9a9c4967ee7ff9d5 (patch) | |
tree | 432a8b05d3979c5b826b2e8be31c243d036214be /tree.c | |
parent | 5c28a8b054cb69a37638b0261fc370422c8fab58 (diff) | |
download | git-1d13e9f600986b7ced8db37a9a9c4967ee7ff9d5.tar.gz |
vcs-svn: Eliminate node_ctx.srcRev global
The srcRev variable is only used in handle_node(); its purpose
is to hold the old mode for a path, to only be used if properties
are not being changed. Narrow its scope to make its meaningful
lifetime more obvious.
No functional change intended. Add some tests as a sanity-check
for the simplest case (no renames).
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions