doc: clarify boundaries of 'git worktree list --porcelain'
commite44a44aa25c5ff22334efe0bd4187b96303b00fd
authorAndreas Heiduk <asheiduk@gmail.com>
Mon, 22 Oct 2018 20:45:41 +0000 (22 22:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Oct 2018 03:23:08 +0000 (23 12:23 +0900)
tree07055f9092bc29c4fba43757660dd28d7ad5a5a1
parentcae598d9980661a978e2df4fb338518f7bf09572
doc: clarify boundaries of 'git worktree list --porcelain'

Defined delimiters for 'git worktree list --porcelain' make the format
easier to parse in scripts. For example

sed -n '/^worktree ID$/,/^$/p'

extracts only the information for the worktree 'ID'.

The format did not changed since [1], only the guaranty is added.

[1] bb9c03b82a (worktree: add 'list' command, 2015-10-08)

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt