From 76b767149992032bd9fa7c672c72895a1dc178cd Mon Sep 17 00:00:00 2001 From: Florian Benscheidt Date: Tue, 11 May 2021 16:46:51 +0200 Subject: [PATCH 01/10] git-show-index: add page --- pages/common/git-show-index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/git-show-index.md diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md new file mode 100644 index 00000000000000..6478a81f84bc83 --- /dev/null +++ b/pages/common/git-show-index.md @@ -0,0 +1,12 @@ +# git show-index + +> Show packed archive index. +> More information: . + +- Reads the '.idx' file for a Git packfile and dump it's contents (stdout): + +`git show-index {{path/to/file}}` + +- Specify the hash algorithm for the index file (experimental): + +`git show-index --object-format={{hash_algorithm}} {{path/to/file}}` From c879eec3339ecd61a57c55551d954853e0697840 Mon Sep 17 00:00:00 2001 From: Florian Benscheidt Date: Tue, 11 May 2021 16:52:20 +0200 Subject: [PATCH 02/10] fix tldr104 --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index 6478a81f84bc83..272045e7b1a677 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show packed archive index. > More information: . -- Reads the '.idx' file for a Git packfile and dump it's contents (stdout): +- Read the '.idx' file for a Git packfile and dump it's contents (stdout): `git show-index {{path/to/file}}` From 592195fdcccb9815927e04a40e609e0e583f2e23 Mon Sep 17 00:00:00 2001 From: Florian B Date: Tue, 11 May 2021 17:21:35 +0200 Subject: [PATCH 03/10] Update pages/common/git-show-index.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index 272045e7b1a677..f031dc4eb4d387 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show packed archive index. > More information: . -- Read the '.idx' file for a Git packfile and dump it's contents (stdout): +- Read the '.idx' file for a Git packfile and dump its contents to stdout: `git show-index {{path/to/file}}` From 5d4ae871eff922c82f5145fa7c93af80408e5515 Mon Sep 17 00:00:00 2001 From: Florian B Date: Sun, 23 May 2021 02:04:19 +0200 Subject: [PATCH 04/10] Update pages/common/git-show-index.md Co-authored-by: Starbeamrainbowlabs --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index f031dc4eb4d387..e1fd2bbe8b902d 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -1,6 +1,6 @@ # git show-index -> Show packed archive index. +> Show the packed archive index. > More information: . - Read the '.idx' file for a Git packfile and dump its contents to stdout: From 971b3c5515585f2be1dc1ba54be00e27d8451aa6 Mon Sep 17 00:00:00 2001 From: Florian B Date: Sun, 23 May 2021 02:04:30 +0200 Subject: [PATCH 05/10] Update pages/common/git-show-index.md Co-authored-by: Starbeamrainbowlabs --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index e1fd2bbe8b902d..eeaef0c288aa30 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show the packed archive index. > More information: . -- Read the '.idx' file for a Git packfile and dump its contents to stdout: +- Read the `.idx` file for a Git packfile and dump its contents to stdout: `git show-index {{path/to/file}}` From 7e3d39a5ef11d8f3c319953d5e830a311975b5a4 Mon Sep 17 00:00:00 2001 From: Florian B Date: Sun, 23 May 2021 02:42:50 +0200 Subject: [PATCH 06/10] Update pages/common/git-show-index.md Co-authored-by: Starbeamrainbowlabs --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index eeaef0c288aa30..d2db11a580f515 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -5,7 +5,7 @@ - Read the `.idx` file for a Git packfile and dump its contents to stdout: -`git show-index {{path/to/file}}` +`git show-index {{path/to/file.idx}}` - Specify the hash algorithm for the index file (experimental): From 776eb7a4a1ac0aadf22f78fadd06945e9a459c3d Mon Sep 17 00:00:00 2001 From: Florian B Date: Sun, 23 May 2021 02:43:18 +0200 Subject: [PATCH 07/10] Update pages/common/git-show-index.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index d2db11a580f515..75df4204daaa0a 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -9,4 +9,4 @@ - Specify the hash algorithm for the index file (experimental): -`git show-index --object-format={{hash_algorithm}} {{path/to/file}}` +`git show-index --object-format={{sha1|sha256}} {{path/to/file}}` From a7d2dbffa8c6c69174572efa6fec639033ef0c04 Mon Sep 17 00:00:00 2001 From: Florian B Date: Sat, 12 Jun 2021 16:25:17 +0200 Subject: [PATCH 08/10] Update pages/common/git-show-index.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index 75df4204daaa0a..7140004848d58a 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -1,6 +1,6 @@ # git show-index -> Show the packed archive index. +> Show the packed archive index of a Git repository. > More information: . - Read the `.idx` file for a Git packfile and dump its contents to stdout: From 7a5c23257f9d0aa1a7042000d16a8d8e2c134043 Mon Sep 17 00:00:00 2001 From: Florian B Date: Sat, 12 Jun 2021 16:25:44 +0200 Subject: [PATCH 09/10] Update pages/common/git-show-index.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index 7140004848d58a..f6546121f24057 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show the packed archive index of a Git repository. > More information: . -- Read the `.idx` file for a Git packfile and dump its contents to stdout: +- Read a `.idx` file for a Git packfile and dump its contents to stdout: `git show-index {{path/to/file.idx}}` From fb4cc404e2cd84fce34e5929e1234487b57635dd Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Wed, 23 Jun 2021 09:47:41 -0400 Subject: [PATCH 10/10] Update pages/common/git-show-index.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/git-show-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index f6546121f24057..6ea95bc592c15f 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show the packed archive index of a Git repository. > More information: . -- Read a `.idx` file for a Git packfile and dump its contents to stdout: +- Read an IDX file for a Git packfile and dump its contents to stdout: `git show-index {{path/to/file.idx}}`