diff options
author | Jeff King <peff@peff.net> | 2011-11-18 06:11:28 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-18 11:55:05 -0800 |
commit | 4bd4e73093eb741a87b7d80bc84469d880f4e2f3 (patch) | |
tree | d21114b70ddd0407dd2ee6a6556aa798f19738e4 /compat | |
parent | read-cache: let refresh_cache_ent pass up changed flags (diff) | |
download | tgif-4bd4e73093eb741a87b7d80bc84469d880f4e2f3.tar.xz |
refresh_index: rename format variables
When refreshing the index, for modified (or unmerged) files we will print
"needs update" (or "needs merge") for plumbing, or line similar to the
output from "diff --name-status" for porcelain.
The variables holding which type of message to show are named after the
plumbing messages. However, as we begin to differentiate more cases at the
porcelain level (with the plumbing message staying the same), that naming
scheme will become awkward.
Instead, name the variables after which case we found (modified or
unmerged), not what we will output.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions