Merge branch 'ma/worktree-cleanups'
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2020 21:01:52 +0000 (14:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2020 21:01:52 +0000 (14:01 -0700)
commit07601b5b360264a74f94d74640999ea19cf61517
treed84a547e243e4fb75a8a0409667fcf5686928803
parent34415c76c8f67c8692090ef4911d1626689e8f38
parenta46d1f732192a8621ead7ea5c4a3ca391ad881cb
Merge branch 'ma/worktree-cleanups'

Code clean-up.

* ma/worktree-cleanups:
  worktree: use skip_prefix to parse target
  worktree: rename copy-pasted variable
  worktree: update renamed variable in comment
  worktree: inline `worktree_ref()` into its only caller
  wt-status: introduce wt_status_state_free_buffers()
  wt-status: print to s->fp, not stdout
  wt-status: replace sha1 mentions with oid
ref-filter.c
worktree.c
worktree.h
wt-status.c