diff options
author | Andrew Wheeler <awheeler@motorola.com> | 2016-01-29 17:18:42 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-01 15:03:50 -0800 |
commit | b2e93f88cb94f487650beb93ff87ceb7ab68a0ed (patch) | |
tree | 4602563089727f783559735a5c0a47d838b8f42e /unpack-trees.h | |
parent | 1b0b6dd0720572dcf90c264aeb91f96a017b0f25 (diff) | |
download | git-b2e93f88cb94f487650beb93ff87ceb7ab68a0ed.tar.gz |
push: fix ref status reporting for --force-with-leaseaw/push-force-with-lease-reporting
The --force--with-lease push option leads to less
detailed status information than --force. In particular,
the output indicates that a reference was fast-forwarded,
even when it was force-updated.
Modify the --force-with-lease ref status logic to leverage
the --force ref status logic when the "lease" conditions
are met.
Also, enhance tests to validate output status reporting.
Signed-off-by: Andrew Wheeler <awheeler@motorola.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions