git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* asciidoc problem, and a possible fix
@ 2010-03-24 23:34 hachi
  2010-03-25  0:51 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: hachi @ 2010-03-24 23:34 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Hello folks,

I had an issue building git on some centos 5 machines today, and in trying to interpret the error message I formed the attached patch.

The errors were:
xmlto: input does not validate (status 1)
/home/hachi/rpm/BUILD/git-1.7.0.3/Documentation/git-filter-branch.xml:463: parser error : PCDATA invalid Char value 7
Clone it with <literal>git clone +++0+++</literal>.  The clone
                                    ^
/home/hachi/rpm/BUILD/git-1.7.0.3/Documentation/git-filter-branch.xml:463: parser error : PCDATA invalid Char value 7
Clone it with <literal>git clone +++0+++</literal>.  The clone


I will happily admit that I don't know asciidoc, or the use of asciidoc in git.... but the +++ marker surrounding the url seems to not be used anywhere else in the documents directory, and I seem to be getting the appropriate output because of the `` surrounding the command.

I'm not subscribed to the list, but I'll try to watch for replies. Would anyone like to either tell me I did this wrong, or apply my fix?

Thanks much,

hachi


[-- Attachment #2: asciidoc-problem.patch --]
[-- Type: application/octet-stream, Size: 656 bytes --]

diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index 020028c..4f71c17 100644
--- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -386,7 +386,7 @@ objects until you tell it to.  First make sure that:
 Then there are two ways to get a smaller repository.  A safer way is
 to clone, that keeps your original intact.
 
-* Clone it with `git clone +++file:///path/to/repo+++`.  The clone
+* Clone it with `git clone file:///path/to/repo`.  The clone
   will not have the removed objects.  See linkgit:git-clone[1].  (Note
   that cloning with a plain path just hardlinks everything!)
 

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-29  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 23:34 asciidoc problem, and a possible fix hachi
2010-03-25  0:51 ` Junio C Hamano
2010-03-25  9:15   ` hachi
2010-03-29  6:38     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).