diff options
author | 2015-07-17 18:59:59 -0400 | |
---|---|---|
committer | 2015-07-20 11:29:24 -0700 | |
commit | 4e07815dba5ccad0cfcb672b99e2000bd3dc3543 (patch) | |
tree | a5ba2f603431a4c60649911a1f53d1fb5ea4d6aa /t/t4013/diff.log_-p_master | |
parent | checkout: improve die_if_checked_out() robustness (diff) | |
download | tgif-4e07815dba5ccad0cfcb672b99e2000bd3dc3543.tar.xz |
checkout: die_if_checked_out: simplify strbuf management
There is no reason to keep the strbuf active long after its last use.
By releasing it as early as possible, resource management is simplified
and there is less worry about future changes resulting in a leak.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_-p_master')
0 files changed, 0 insertions, 0 deletions