documentation-file-ref-check: Make git check work for multiple working directories
authorRob Herring <robh@kernel.org>
Thu, 3 Jun 2021 01:28:06 +0000 (20:28 -0500)
committerJonathan Corbet <corbet@lwn.net>
Fri, 4 Jun 2021 17:20:52 +0000 (11:20 -0600)
commit709dedfdf3daa8719240ecff1c0b70b278005386
tree7a74f61b01d46f94711e7a4b418b0c93fcaf8269
parentc003555a026f56dae1d6b522045a7917150ceabb
documentation-file-ref-check: Make git check work for multiple working directories

With multiple git working directories, '.git' may also be a text file
linking to the actual git tree instead of a directory.

Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Tested-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/20210603012806.331132-1-robh@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/documentation-file-ref-check