diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-05-11 15:16:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-12 12:21:24 -0700 |
commit | dcde8b3dcd8d4411a2311fa0a93ca4ca3b26d61f (patch) | |
tree | 805a6fe6792bce5d7977000e7ff1009d0edfb409 /advice.c | |
parent | d1b27ced9a38ed03e99422b6cb24ff95c7437663 (diff) | |
download | git-dcde8b3dcd8d4411a2311fa0a93ca4ca3b26d61f.tar.gz git-dcde8b3dcd8d4411a2311fa0a93ca4ca3b26d61f.tar.xz |
builtin/apply: move 'read_stdin' global into cmd_apply()
The 'read_stdin' variable doesn't need to be static and global to the
file. It can be local to cmd_apply(), so let's move it there.
This will make it easier to libify the apply functionality.
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions