git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: mention the magic pathspec ":/"

From
Thomas Weißschuh <thomas@t-8ch.de>
Date
Aug 14, 2022, 09:52 UTC
Message-ID
<20220814095253.3422612-1-thomas@t-8ch.de>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
---
 Documentation/gitcli.txt | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt
index 1819a5a185..a421855bdb 100644
--- a/Documentation/gitcli.txt
+++ b/Documentation/gitcli.txt
@@ -78,6 +78,8 @@ you will.
    using a '.' as a repository name in Git (a dot-repository) is a relative
    path and means your current repository.
 
+ * The magic pathspec `:/` refers to the root of the working tree.
+
 Here are the rules regarding the "flags" that you should follow when you are
 scripting Git:
 

base-commit: afa70145a25e81faa685dc0b465e52b45d2444bd
-- 
2.37.2
Next: Junio C Hamano
Message 1 of 3 in “Documentation: mention the magic pathspec ":/"”
  1. Documentation: mention the magic pathspec ":/"Thomas Weißschuh, Aug 14, 2022
  2. Junio C HamanoAug 15, 2022
  3. Thomas WeißschuhAug 16, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.