Permalink
Commits on Oct 31, 2008
  1. asciidoc: add minor workaround to add an empty line after code blocks

    jonas authored and gitster committed Oct 30, 2008
    Insert an empty <simpara> in manpages after code blocks to force and
    empty line.
    
    The problem can be seen on the manpage for the git tutorial, where an
    example command and the following paragraph is printed with no empty
    line between them:
    
         First, note that you can get documentation for a command such as git
         log --graph with:
    
             $ man git-log
         It is a good idea to introduce yourself to git [...]
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Oct 16, 2008
  1. git-check-attr(1): use 'verse' for multi-line synopsis sections

    jonas authored and gitster committed Oct 15, 2008
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. git-check-attr(1): add output and example sections

    jonas authored and gitster committed Oct 15, 2008
    Plumbing tools should document what output can be expected.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Sep 25, 2008
  1. checkout: Do not show local changes when in quiet mode

    jonas authored and spearce committed Sep 25, 2008
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Sep 3, 2008
  1. Fix passwd(5) ref and reflect that commit doens't use commit-tree

    jonas authored and gitster committed Sep 3, 2008
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 18, 2008
  1. git-remote: reject adding remotes with invalid names

    jonas authored and gitster committed Apr 13, 2008
    This can happen if the arguments to git-remote add is switched by the
    user, and git would only show an error if fetching was also requested.
    Fix it by using the refspec parsing engine to check if the requested
    name can be parsed as a remote before add it.
    
    Also cleanup so that the "remote.<name>.url" config name buffer is only
    initialized once.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 15, 2008
  1. shortlog: do not require to run from inside a git repository

    jonas authored and gitster committed Mar 14, 2008
    Once upon a time shortlog could be run from a non-git directory
    and still do its job. Fix this regression and add a small test
    for it.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. Make man page building quiet when DOCBOOK_XSL_172 is defined

    jonas authored and gitster committed Mar 14, 2008
    Tell xmlto to repress printing of the lines:
    
    	Note: meta date   : No date. Using generated date       git-xyx
    	Note: Writing git-xyz.1
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 11, 2008
  1. man pages are littered with .ft C and others

    jonas authored and gitster committed Feb 4, 2008
    Jakub Narebski <jnareb@gmail.com> wrote Sun, Feb 03, 2008:
    > Junio C Hamano wrote:
    > > Jakub Narebski <jnareb@gmail.com> writes:
    > >
    > > [From] http://thread.gmane.org/gmane.comp.version-control.git/53457/focus=53458
    > Julian Phillips:
    > > Are you using docbook xsl 1.72?  There are known problems building the
    > > manpages with that version.  1.71 works, and 1.73 should work when it get
    > > released.
    
    I was able to solve this problem with this patch, which adds a XSL file
    used specifically for DOCBOOK_XSL_172=YesPlease and where dots and
    backslashes are escaped properly so they won't be substituted to the
    wrong thing further down the "DocBook XSL pipeline". Doing the escaping
    in the existing callout.xsl breaks v1.70.1. Hopefully v1.73 will end
    this part of the manpage nightmare.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 5, 2008
  1. man pages are littered with .ft C and others

    jonas authored and gitster committed Feb 4, 2008
    Jakub Narebski <jnareb@gmail.com> wrote Sun, Feb 03, 2008:
    > Junio C Hamano wrote:
    > > Jakub Narebski <jnareb@gmail.com> writes:
    > >
    > > [From] http://thread.gmane.org/gmane.comp.version-control.git/53457/focus=53458
    > Julian Phillips:
    > > Are you using docbook xsl 1.72?  There are known problems building the
    > > manpages with that version.  1.71 works, and 1.73 should work when it get
    > > released.
    
    I was able to solve this problem with this patch, which adds a XSL file
    used specifically for DOCBOOK_XSL_172=YesPlease and where dots and
    backslashes are escaped properly so they won't be substituted to the
    wrong thing further down the "DocBook XSL pipeline". Doing the escaping
    in the existing callout.xsl breaks v1.70.1. Hopefully v1.73 will end
    this part of the manpage nightmare.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 14, 2007
  1. Documentation: Fix man page breakage with DocBook XSL v1.72

    jonas authored and gitster committed Nov 14, 2007
    From version 1.72 it will replace all dots in roff requests with U+2302
    ("house" character), and add escaping in output for all instances of dot
    that are not in roff requests. This caused the ".ft" hack forcing
    monospace font in listingblocks to end up as "\&.ft" and being visible
    in the resulting man page.
    
    The fix adds a DOCBOOK_XSL_172 build variable that will disable the
    hack. To allow this variable to be defined in config.mak it also moves
    build variable handling below the inclusion of config.mak.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 12, 2007
  1. Documentation: Fix references to deprecated commands

    jonas authored and gitster committed Nov 12, 2007
    ... by changing git-tar-tree reference to git-archive and removing
    seemingly unrelevant footnote about git-ssh-{fetch,upload}.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 9, 2007
  1. instaweb: Minor cleanups and fixes for potential problems

    jonas authored and gitster committed Nov 8, 2007
    Fix path quoting and test of empty values that some shells do not like.
    Remove duplicate check and setting of $browser.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 2, 2007
  1. Remove escaping of '|' in manpage option sections

    jonas authored and gitster committed Nov 2, 2007
    The escaped were ending up verbatim in the generated documentation.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Oct 30, 2007
  1. Update manpages to reflect new short and long option aliases

    jonas authored and gitster committed Oct 14, 2007
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Jul 4, 2007
  1. fsck --lost-found writes to subdirectories in .git/lost-found/

    jonas authored and gitster committed Jul 4, 2007
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jun 2, 2007
  1. git-rebase: suggest to use git-add instead of git-update-index

    jonas authored and Junio C Hamano committed Jun 2, 2007
    The command is part of the main porcelain making git-add more
    appropriate.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Fix git-am(1) synopsis formatting

    jonas authored and Junio C Hamano committed Jun 2, 2007
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on May 21, 2007
  1. Update bash completion to ignore some more plumbing commands

    jonas authored and spearce committed May 19, 2007
    [sp: Modified Jonas' original patch to keep checkout-index
     as a a valid completion.]
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on May 20, 2007
  1. branch: fix segfault when resolving an invalid HEAD

    jonas authored and Junio C Hamano committed May 20, 2007
    Caused by return value of resolve_ref being passed directly
    to xstrdup whereby the sanity checking was never reached.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on May 4, 2007
  1. git-tag(1): -v option is a subcommand; fix code block

    jonas authored and Junio C Hamano committed May 1, 2007
    When the -v is passed, git-tag will exit after it is processed like it
    does with the -d and -l options. Additionally, missing code block caused
    wrong rendering of an option example.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Nov 13, 2006
  1. git-update-index(1): fix use of quoting in section title

    jonas authored and Junio C Hamano committed Nov 12, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 20, 2006
  1. gitk(1): mention --all

    jonas authored and Junio C Hamano committed Sep 20, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Fix trivial typos and inconsistencies in hooks documentation

    jonas authored and Junio C Hamano committed Sep 20, 2006
    Pointed out by Alan Chandler.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 18, 2006
  1. Add man page for git-show-ref

    jonas authored and Junio C Hamano committed Sep 18, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 17, 2006
  1. git-repack(1): document --window and --depth

    jonas authored and Junio C Hamano committed Sep 17, 2006
    Copy and pasted from git-pack-objects(1).
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. git-apply(1): document --unidiff-zero

    jonas authored and Junio C Hamano committed Sep 17, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 1, 2006
  1. git-rev-list(1): group options; reformat; document more options

    jonas authored and Junio C Hamano committed Aug 31, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Aug 31, 2006
  1. Include config.mak.autogen in the doc Makefile

    jonas authored and Junio C Hamano committed Aug 31, 2006
    ... to install documentation relative to the path set with configure's
    --prefix option.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Use xmalloc instead of malloc

    jonas authored and Junio C Hamano committed Aug 31, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  3. git(7): move gitk(1) to the list of porcelain commands

    jonas authored and Junio C Hamano committed Aug 31, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Aug 28, 2006
  1. Add --relative-date option to the revision interface

    jonas authored and Junio C Hamano committed Aug 28, 2006
    Exposes the infrastructure from 9a8e35e.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Use xcalloc instead of calloc

    jonas authored and Junio C Hamano committed Aug 28, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  3. Use fstat instead of fseek

    jonas authored and Junio C Hamano committed Aug 27, 2006
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Aug 27, 2006
  1. Use xrealloc instead of realloc

    jonas authored and Junio C Hamano committed Aug 26, 2006
    Change places that use realloc, without a proper error path, to instead use
    xrealloc. Drop an erroneous error path in the daemon code that used errno
    in the die message in favour of the simpler xrealloc.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Junio C Hamano <junkio@cox.net>