diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-07 23:10:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-09 23:36:51 +0200 |
commit | ec15be02679ed5a98e4a96b23b99dd1b90196fae (patch) | |
tree | 5a2bc6b24a2a7879c80673feabaa21e21a69ba5c /gpg-interface.h | |
parent | apply: move check_to_create_blob() closer to its sole caller (diff) | |
download | git-ec15be02679ed5a98e4a96b23b99dd1b90196fae.tar.xz git-ec15be02679ed5a98e4a96b23b99dd1b90196fae.zip |
apply: move "already exists" logic to check_to_create()
The check_to_create_blob() function used to check only the case
where we are applying to the working tree. Rename the function to
check_to_create() and make it also responsible for checking the case
where we apply to the index. Also make its caller responsible for
issuing an error message.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.h')
0 files changed, 0 insertions, 0 deletions