worktree: cleanups & simplification
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | worktree: drop pointless strbuf_release()worktree.c | +0 | 0 replies | |
| 2/4 | worktree: drop unused code from get_linked_worktree()worktree.c | +0 | 0 replies | |
| 3/4 | worktree: drop bogus and unnecessary path mungingworktree.c | +1 | 0 replies | |
| 4/4 | worktree: retire special-case normalization of main worktree pathworktree.c | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] worktree: cleanups & simplification
The primary change of this series is a response to Junio's observation[1] that it would be nice if get_main_worktree() didn't employ special cases for path normalization. I was planning on investigating the topic eventually anyway but ended up having to tackle the same sort of manual special case normalization in another worktree-related topic I'm working on, thus this series fell out naturally from that other work. Along the way, while re-studying the worktree code, I came across a few other issues which deserved attention, but which are not directly related to the other topic I'm working on, so I bundled all these small changes together here.
Eric Sunshine (4):
worktree: drop pointless strbuf_release()
worktree: drop unused code from get_linked_worktree()
worktree: drop bogus and unnecessary path munging
worktree: retire special-case normalization of main worktree path
worktree.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-)
Signature · 1 line
2.28.0.203.gce1f2e0ef1