Skip to content
Commits on Aug 5, 2011
  1. @jonseymour @gitster

    misc-sh: fix up whitespace in some other .sh files.

    jonseymour committed with gitster
    I found that the patched 4 files were different when this
    filter is applied.
    
    	expand -i | unexpand --first-only
    
    This patch contains the corrected files.
    
    Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 16, 2011
  1. @jrn @gitster

    standardize brace placement in struct definitions

    jrn committed with gitster
    In a struct definitions, unlike functions, the prevailing style is for
    the opening brace to go on the same line as the struct name, like so:
    
     struct foo {
    	int bar;
    	char *baz;
     };
    
    Indeed, grepping for 'struct [a-z_]* {$' yields about 5 times as many
    matches as 'struct [a-z_]*$'.
    
    Linus sayeth:
    
     Heretic people all over the world have claimed that this inconsistency
     is ...  well ...  inconsistent, but all right-thinking people know that
     (a) K&R are _right_ and (b) K&R are right.
    
    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 1, 2008
  1. @pclouds @gitster

    generate-cmdlist.sh: avoid selecting synopsis at wrong place

    pclouds committed with gitster
    In "common" man pages there is luckily no "NAME" anywhere except at
    beginning of documents. If there is another "NAME", sed could
    mis-select it and lead to common-cmds.h corruption. So better nail it
    at beginning of line, which would reduce corruption chance.
    
    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 2, 2007
  1. @gitster

    Consolidate command list to one.

    gitster committed
    The categorized list of commands in git(7) and the list of common
    commands in "git help" output were maintained separately, which was
    insane.  This consolidates them to a single command-list.txt file.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 14, 2007
  1. @tytso @gitster

    Make the list of common commands more exclusive

    tytso committed with gitster
    Remove apply, archive, cherry-pick, prune, revert, and show-branch, so
    "git help" is less intimidating.
    
    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jun 13, 2007
  1. @gitster

    More static

    gitster committed
    There still are quite a few symbols that ought to be static.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 12, 2007
  1. use 'init' instead of 'init-db' for shipped docs and tools

    Nicolas Pitre committed with Junio C Hamano
    While 'init-db' still is and probably will always remain a valid git
    command for obvious backward compatibility reasons, it would be a good
    idea to move shipped tools and docs to using 'init' instead.
    
    Signed-off-by: Nicolas Pitre <nico@cam.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Jan 3, 2007
  1. git-tag: add flag to verify a tag

    Santi Béjar committed with Junio C Hamano
    This way "git tag -v $tag" is the UI for git-verify-tag.
    
    Signed-off-by: Santi Béjar <sbejar@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Dec 14, 2006
  1. @dscho

    git-show: grok blobs, trees and tags, too

    dscho committed with Junio C Hamano
    Since git-show is pure Porcelain, it is the ideal candidate to
    pretty print other things than commits, too.
    
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 9, 2006
  1. Add git-archive

    Franck Bui-Huu committed with Junio C Hamano
    git-archive is a command to make TAR and ZIP archives of a git tree.
    It helps prevent a proliferation of git-{format}-tree commands.
    
    Instead of directly calling git-{tar,zip}-tree command, it defines
    a very simple API, that archiver should implement and register in
    "git-archive.c". This API is made up by 2 functions whose prototype
    is defined in "archive.h" file.
    
     - The first one is used to parse 'extra' parameters which have
       signification only for the specific archiver. That would allow
       different archive backends to have different kind of options.
    
     - The second one is used to ask to an archive backend to build
       the archive given some already resolved parameters.
    
    The main reason for making this API is to avoid using
    git-{tar,zip}-tree commands, hence making them useless. Maybe it's
    time for them to die ?
    
    It also implements remote operations by defining a very simple
    protocol: it first sends the name of the specific uploader followed
    the repository name (git-upload-tar git://example.org/repo.git).
    Then it sends options. It's done by sending a sequence of one
    argument per packet, with prefix "argument ", followed by a flush.
    
    The remote protocol is implemented in "git-archive.c" for client
    side and is triggered by "--remote=<repo>" option. For example,
    to fetch a TAR archive in a remote repo, you can issue:
    
    $ git archive --format=tar --remote=git://xxx/yyy/zzz.git HEAD
    
    We choose to not make a new command "git-fetch-archive" for example,
    avoind one more GIT command which should be nice for users (less
    commands to remember, keeps existing --remote option).
    
    Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
    Acked-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on May 22, 2006
  1. @tali

    git help: remove whatchanged from list of common commands

    tali committed with Junio C Hamano
    whatchanged is replaced by git log now.
    
    Signed-off-by: Martin Waitz
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Mar 20, 2006
  1. generate-cmdlist: style cleanups.

    Junio C Hamano committed
    Instead of giving multiple commands concatenated with semicolon
    to sed, write them on separate lines.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @spearce

    Add missing semicolon to sed command.

    spearce committed with Junio C Hamano
    generate-cmdlist.sh is giving errors messages from sed on Mac OS
    10.4 due to a missing semicolon.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Mar 9, 2006
  1. Nicer output from 'git'

    Fredrik Kuivinen committed with Junio C Hamano
    [jc: with suggestions by Jan-Benedict Glaw]
    
    Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.