threads / patch / 788

patchOne Git To Rule Them All - Prep 1

Subject: [PATCH] One Git To Rule Them All - Prep 1

## tl;dr

2 messages between Jun 1, 2005 and Jun 5, 2005. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Jason McMullan· Jun 1, 2005, 05:59 UTC · lore
one-git prep patch 1/2
Add some missing documentation for git-* commands
Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com>
Show changes to 3 files +96 −0

Documentation/git-apply.txt, Documentation/git-get-tar-commit-id.txt, Documentation/git-stripspace.txt

diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
new file mode 100644
--- /dev/null
+++ b/Documentation/git-apply.txt
@@ -0,0 +1,36 @@
+git-apply(1)
+============
+v0.1, May 2005
+
+NAME
+----
+git-apply - Apply a patch against the current index cache/working directory
+
+
+SYNOPSIS
+--------
+'git-apply' [--check] [--stat] [--show-file] <patch>
+
+DESCRIPTION
+-----------
+This applies patches on top of some (arbitrary) version of the SCM.
+
+NOTE! It does all its work in the index file, and only cares about
+the files in the working directory if you tell it to "merge" the
+patch apply.
+
+Even when merging it always takes the source from the index, and
+uses the working tree as a "branch" for a 3-way merge.
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org>
+
+Documentation
+--------------
+Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
diff --git a/Documentation/git-get-tar-commit-id.txt b/Documentation/git-get-tar-commit-id.txt
new file mode 100644
--- /dev/null
+++ b/Documentation/git-get-tar-commit-id.txt
@@ -0,0 +1,29 @@
+git-get-tar-commit-id(1)
+========================
+v0.1, May 2005
+
+NAME
+----
+git-get-tar-commit-id - Show the commit ID embedded in a git-tar-tree file.
+
+
+SYNOPSIS
+--------
+'git-get-tar-commit-id' <tar-file.tar>
+
+DESCRIPTION
+-----------
+This shows the commit ID embedded in a git-tar-tree generated file.
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org>
+
+Documentation
+--------------
+Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
diff --git a/Documentation/git-stripspace.txt b/Documentation/git-stripspace.txt
new file mode 100644
--- /dev/null
+++ b/Documentation/git-stripspace.txt
@@ -0,0 +1,31 @@
+git-stripspace(1)
+=================
+v0.1, May 2005
+
+NAME
+----
+git-stripspace - Strip space from stdin
+
+
+SYNOPSIS
+--------
+'git-stripspace' <stream
+
+DESCRIPTION
+-----------
+Remove empty lines from the beginning and end.
+
+Turn multiple consecutive empty lines into just one empty line.
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org>
+
+Documentation
+--------------
+Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
Petr Baudis· Jun 5, 2005, 20:47 UTC · re: Jason McMullan · lore

Re: [PATCH] One Git To Rule Them All - Prep 1

Dear diary, on Wed, Jun 01, 2005 at 07:59:49AM CEST, I got a letter where Jason McMullan <jason.mcmullan@timesys.com> told me that...

Show 18 quoted lines
> one-git prep patch 1/2
> 
> Add some missing documentation for git-* commands
> 
> Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com>
> 
> diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/git-apply.txt
> diff --git a/Documentation/git-get-tar-commit-id.txt b/Documentation/git-get-tar-commit-id.txt
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/git-get-tar-commit-id.txt
> diff --git a/Documentation/git-stripspace.txt b/Documentation/git-stripspace.txt
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/git-stripspace.txt

Linus? Even if we don't go for the One Git stuff, this would be definitively nice to have.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

← back to recent threads