From ec1220448058f2c2b700562518c3d4ef629456b0 Mon Sep 17 00:00:00 2001 From: Ryan Canete Date: Tue, 12 Dec 2023 10:53:08 +0800 Subject: [PATCH 1/8] add tldr page: git-mktree --- pages/common/git-mktree.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/git-mktree.md diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md new file mode 100644 index 0000000000..b8d99bbebb --- /dev/null +++ b/pages/common/git-mktree.md @@ -0,0 +1,16 @@ +# git mktree + +> Build a tree-object using ls-tree formatted text. +> More information: . + +- Allows for missing objects bypassing the default behavior which usually verifies each tree entry has an existing object: + +`git mktree --missing` + +- Reads the NUL-terminated output of the tree-object: + +`git mktree -z` + +- Allows for the creation of multiple tree object: + +`git mktree -- batch` \ No newline at end of file From 73d334bc6ec7f90ba637d22b551a32bfd23de641 Mon Sep 17 00:00:00 2001 From: Ryan Canete Date: Tue, 12 Dec 2023 11:00:06 +0800 Subject: [PATCH 2/8] git-mktree: minor fix in url --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index b8d99bbebb..08870d2b31 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -1,7 +1,7 @@ # git mktree > Build a tree-object using ls-tree formatted text. -> More information: . +> More information: . - Allows for missing objects bypassing the default behavior which usually verifies each tree entry has an existing object: From fe180a76313372910d10d6e3d4902dda3089b758 Mon Sep 17 00:00:00 2001 From: Ryan Canete Date: Tue, 12 Dec 2023 11:28:10 +0800 Subject: [PATCH 3/8] git-mktree: fixed linting errors --- pages/common/git-mktree.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index 08870d2b31..35d9e5907e 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -3,14 +3,14 @@ > Build a tree-object using ls-tree formatted text. > More information: . -- Allows for missing objects bypassing the default behavior which usually verifies each tree entry has an existing object: +- Allow for missing objects which bypass the default behavior that verifies each tree entry has an existing object: `git mktree --missing` -- Reads the NUL-terminated output of the tree-object: +- Read the NUL-terminated output of the tree-object: `git mktree -z` -- Allows for the creation of multiple tree object: +- Allow for the creation of multiple tree object: -`git mktree -- batch` \ No newline at end of file +`git mktree -- batch` From 596e2ae1f610666397cd68fec39c77b631ed3101 Mon Sep 17 00:00:00 2001 From: Ryan Alexander Canete <101620410+Rcanete26@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:56:45 +0800 Subject: [PATCH 4/8] Update pages/common/git-mktree.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index 35d9e5907e..cbb1a57092 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -13,4 +13,4 @@ - Allow for the creation of multiple tree object: -`git mktree -- batch` +`git mktree --batch` From f0f82c253db83d58ca09c8ed064edc79bd26a063 Mon Sep 17 00:00:00 2001 From: Ryan Alexander Canete <101620410+Rcanete26@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:56:59 +0800 Subject: [PATCH 5/8] Update pages/common/git-mktree.md Co-authored-by: K.B.Dharun Krishna --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index cbb1a57092..aebe3bd48b 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -1,6 +1,6 @@ # git mktree -> Build a tree-object using ls-tree formatted text. +> Build a tree object using `ls-tree` formatted text. > More information: . - Allow for missing objects which bypass the default behavior that verifies each tree entry has an existing object: From 66a56a1cd9e15ed217add1a5ae2cd019777165eb Mon Sep 17 00:00:00 2001 From: Ryan Alexander Canete <101620410+Rcanete26@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:57:08 +0800 Subject: [PATCH 6/8] Update pages/common/git-mktree.md Co-authored-by: K.B.Dharun Krishna --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index aebe3bd48b..89008c6268 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -7,7 +7,7 @@ `git mktree --missing` -- Read the NUL-terminated output of the tree-object: +- Read the NUL terminated output of the tree object: `git mktree -z` From 84a58263077bfe43ca26444824cad0667b50b20f Mon Sep 17 00:00:00 2001 From: Ryan Alexander Canete <101620410+Rcanete26@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:57:15 +0800 Subject: [PATCH 7/8] Update pages/common/git-mktree.md Co-authored-by: K.B.Dharun Krishna --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index 89008c6268..9a0f31d813 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -3,7 +3,7 @@ > Build a tree object using `ls-tree` formatted text. > More information: . -- Allow for missing objects which bypass the default behavior that verifies each tree entry has an existing object: +- Allow missing objects which bypass the default behavior that verifies each tree entry has an existing object: `git mktree --missing` From 666f7b26e696653eae533b727602cf0e32aaf2a9 Mon Sep 17 00:00:00 2001 From: Ryan Alexander Canete <101620410+Rcanete26@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:57:22 +0800 Subject: [PATCH 8/8] Update pages/common/git-mktree.md Co-authored-by: K.B.Dharun Krishna --- pages/common/git-mktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md index 9a0f31d813..211c261ae8 100644 --- a/pages/common/git-mktree.md +++ b/pages/common/git-mktree.md @@ -11,6 +11,6 @@ `git mktree -z` -- Allow for the creation of multiple tree object: +- Allow for the creation of multiple tree objects: `git mktree --batch`