]> git.ipfire.org Git - thirdparty/git.git/commit
worktree: drop pointless strbuf_release()
authorEric Sunshine <sunshine@sunshineco.com>
Fri, 31 Jul 2020 23:32:11 +0000 (19:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 Aug 2020 02:56:10 +0000 (19:56 -0700)
commit62573a57f0919f4d1129962b09462946e69025ff
treeff1eace7ce5da36d41e36140f7a86baa70c21fff
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
worktree: drop pointless strbuf_release()

The content of this strbuf is unconditionally detached several lines
before the strbuf_release() and the strbuf is never touched again after
that point.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
worktree.c