1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-17 14:34:49 +01:00
Commit graph

12 commits

Author SHA1 Message Date
Linus Torvalds
c5f7674a97 Prepare git-tools for merging into the main git archive
Rename into a "tools" subdirectory, and change name of "dotest" to "applymbox".

Remove stripspace (which was already copied into git) and cvs2git (which
was likewise already copied into git, and then replaced by a much better
perl version).

All of this was brought on by Ryan Anderson shaming me into it.  Thanks.
I guess.
2005-07-16 10:05:26 -07:00
Linus Torvalds
a196d8d423 Avoid doing the "filelist" thing, since "git-apply" picks up the files automatically
..and git-apply does a lot better job at it anyway.

Also, we break the comment/diff on a line that starts with "diff -", not
just on the "---" line.  Especially for git diffs, we actually want that
line in the diff.

(We should probably also break on "Index: ..." followed by "=====")
2005-06-23 09:40:23 -07:00
Linus Torvalds
f48516746f applypatch: use "--index" to actually make git-apply write the
changes to the index file.
2005-06-05 14:12:53 -07:00
Linus Torvalds
97b865ba79 applypatch: use the new git-apply to apply patches
Let's test it with some real-world horror schenarios.

I'm crazy, I know.
2005-06-05 14:09:03 -07:00
Linus Torvalds
6a9853cd45 Make "applypatch" use the "-E" flag to patch.
Always remove empty files, regardless of how the diff
showed them to have become empty.
2005-05-17 17:15:56 -07:00
Linus Torvalds
c9049d41b8 Update applypatch to use new GIT_-prefix environment variables.
Avoid the warnings from newer git versions.
2005-05-17 09:35:01 -07:00
Linus Torvalds
62c1f6b4af Get AUTHOR_DATE from the email Date: line
Now that git does pretty reliable date parsing, we might as well get
the date from the email itself. Of course, it's still questionable
whether the date on the email is all that relevant, but it's certainly
no worse than taking the commit date.
2005-05-01 21:42:53 -07:00
Linus Torvalds
8c7b86632c Add "stripspace" program to clean up email commentary
Remove multiple empty lines, and empty lines at beginning and end.
2005-04-30 10:58:41 -07:00
Linus Torvalds
50eb31d103 Fix up "applypatch" for the big git rename
Add "git-" prefixes to git commands.
2005-04-29 14:56:18 -07:00
James Bottomley
ad4e9ce4f9 [PATCH] make dotest more amenable to commit message editing
This makes "dotest" a lot nicer to sue, especially for people who were
used to editing the commit comments after-the-fact in BK, which git
doesn't apply. 

he syntax is

	dotest [-q] mailbox [signoff]

so the command line operates exactly as you're used to.  If you supply
the -q it will query before applying (I also added the [a]pply all the
rest option).  If the signoff file is absent, no signoff line gets
added. 

There's also one addition in this:  a checkout-cache line.  I added that
for poor saps like me whose laptop takes minutes to checkout a full
build tree, so I can run dotest in a directory with no checked out
files.
2005-04-20 08:23:00 -07:00
Linus Torvalds
6109681994 Add quotes around the subject line that we print out as being applied.
My brain just flipped when it tried to read the "Applying" as part
of the explanation of the patch, and the sentence didn't make any
sense. The quotes make it clear what's going on.
2005-04-18 17:40:32 -07:00
Linus Torvalds
853916ff7f Add "applypatch" and "dotest" scripts to tie it all together.
This should be getting it all pretty close to a working setup.
2005-04-12 01:40:20 -07:00