From 223fa32784c79bdae7e68266511f9b5e0d65d03e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 14 May 2007 14:24:02 -0700 Subject: Fix git-clone buglet for remote case. c2f599e09fd0496413d1744b5b89b9b5c223555d introduced a buglet while cloning from a remote URL; we forgot to squelch the unnecessary error message when we try to cd to the given "remote" name, in order to see if it is a local directory. Signed-off-by: Junio C Hamano --- git-clone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-clone.sh b/git-clone.sh index 70374aaaf0..fdd354f2da 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -22,10 +22,10 @@ get_repo_base() { cd "`/bin/pwd`" && cd "$1" && { - cd .git 2>/dev/null + cd .git pwd } - ) + ) 2>/dev/null } if [ -n "$GIT_SSL_NO_VERIFY" ]; then -- cgit v1.2.1 From 2dc189a3536a367444a4176684c89b994e93e736 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 14 May 2007 16:44:51 +0200 Subject: builtin-log.c: Fix typo in comment s/fmt-patch/format-patch/ Signed-off-by: Frank Lichtenheld Signed-off-by: Junio C Hamano --- builtin-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-log.c b/builtin-log.c index 71df957eaa..51294900dd 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -439,7 +439,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) /* * Parse the arguments before setup_revisions(), or something - * like "git fmt-patch -o a123 HEAD^.." may fail; a123 is + * like "git format-patch -o a123 HEAD^.." may fail; a123 is * possibly a valid SHA1. */ for (i = 1, j = 1; i < argc; i++) { -- cgit v1.2.1 From 7b1885d1e74029fe978be739d2d8d911a34ed8bf Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 14 May 2007 16:44:52 +0200 Subject: Documentation: format-patch has no --mbox option git-applymbox and git-mailinfo refer to a --mbox option of git-format-patch when talking about their -k options. But there is no such option. What -k does to the former two commands is to keep the Subject: lines unmunged, meant to be used on output generated with format-patch -k. Signed-off-by: Frank Lichtenheld Signed-off-by: Junio C Hamano --- Documentation/git-applymbox.txt | 2 +- Documentation/git-mailinfo.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-applymbox.txt b/Documentation/git-applymbox.txt index 3bc92d8cf1..ea919ba5d7 100644 --- a/Documentation/git-applymbox.txt +++ b/Documentation/git-applymbox.txt @@ -31,7 +31,7 @@ OPTIONS whitespaces, (3) '[' up to ']', typically '[PATCH]', and then prepends "[PATCH] ". This flag forbids this munging, and is most useful when used to read back 'git - format-patch --mbox' output. + format-patch -k' output. -m:: Patches are applied with `git-apply` command, and unless diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt index ba18133ead..8eadcebfcf 100644 --- a/Documentation/git-mailinfo.txt +++ b/Documentation/git-mailinfo.txt @@ -30,7 +30,7 @@ OPTIONS whitespaces, (3) '[' up to ']', typically '[PATCH]', and then prepends "[PATCH] ". This flag forbids this munging, and is most useful when used to read back 'git - format-patch --mbox' output. + format-patch -k' output. -u:: The commit log message, author name and author email are -- cgit v1.2.1 From 870e0d61d30a943dc050a67574f3f32faff226db Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 14 May 2007 16:44:53 +0200 Subject: git-am: Clean up the asciidoc documentation Add --keep to synopsis. The synopsys used a mix of tabs and spaces, unify to use only spaces. Shuffle options around in synopsys and description for grouping them logically. Add more gitlink references to other commands. Various grammatical fixes and improvements. Signed-off-by: Frank Lichtenheld Signed-off-by: Junio C Hamano --- Documentation/git-am.txt | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index f0405a35e9..ba79773f79 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -9,9 +9,10 @@ git-am - Apply a series of patches from a mailbox SYNOPSIS -------- [verse] -'git-am' [--signoff] [--dotest=] [--utf8 | --no-utf8] [--binary] [--3way] - [--interactive] [--whitespace=