Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 7, 2014
  1. Junio C Hamano

    Merge branch 'maint-2.0' into maint

    gitster authored
    * maint-2.0:
      git-tag.txt: Add a missing hyphen to `-s`
  2. Junio C Hamano

    Merge branch 'maint-1.9' into maint-2.0

    gitster authored
    * maint-1.9:
      git-tag.txt: Add a missing hyphen to `-s`
  3. Junio C Hamano

    Merge branch 'maint-1.8.5' into maint-1.9

    gitster authored
    * maint-1.8.5:
      git-tag.txt: Add a missing hyphen to `-s`
  4. Wieland Hoffmann Junio C Hamano

    git-tag.txt: Add a missing hyphen to `-s`

    mineo authored gitster committed
    Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 17, 2014
  1. Junio C Hamano

    tag: support configuring --sort via .gitconfig

    Jacob Keller authored gitster committed
    Add support for configuring default sort ordering for git tags. Command
    line option will override this configured value, using the exact same
    syntax.
    
    Cc: Jeff King <peff@peff.net>
    Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 27, 2014
  1. Nguyễn Thái Ngọc Duy Junio C Hamano

    tag: support --sort=<spec>

    pclouds authored gitster committed
    --sort=version:refname (or --sort=v:refname for short) sorts tags as
    if they are versions. --sort=-refname reverses the order (with or
    without ":version").
    
    versioncmp() is copied from string/strverscmp.c in glibc commit
    ee9247c38a8def24a59eb5cfb7196a98bef8cfdc, reformatted to Git coding
    style. The implementation is under LGPL-2.1 and according to [1] I can
    relicense it to GPLv2.
    
    [1] http://www.gnu.org/licenses/gpl-faq.html#AllCompatibility
    
    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 4, 2014
  1. Nguyễn Thái Ngọc Duy Junio C Hamano

    git-tag.txt: <commit> for --contains is optional

    pclouds authored gitster committed
    This goes far back to e84fb2f (branch --contains: default to HEAD -
    2008-07-08) where the same parsing code is shared with
    builtin/tag.c. git-branch.txt correctly states that <commit> for
    --contains is optional while git-tag.txt does not. Correct it.
    
    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 31, 2013
  1. Junio C Hamano

    Merge branch 'ds/doc-two-kinds-of-tags'

    gitster authored
    * ds/doc-two-kinds-of-tags:
      docs/git-tag: explain lightweight versus annotated tags
Commits on Jul 29, 2013
  1. Daniele Segato Junio C Hamano

    docs/git-tag: explain lightweight versus annotated tags

    danielesegato authored gitster committed
    Stress the difference between the two with a suggestion on
    when the user should use one in place of the other.
    
    Signed-off-by: Daniele Segato <daniele.segato@gmail.com>
    Signed-off-by: Jeff King <peff@peff.net>
    Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 15, 2013
  1. tacker66 Junio C Hamano

    The name of the hash function is "SHA-1", not "SHA1"

    tacker66 authored gitster committed
    Use "SHA-1" instead of "SHA1" whenever we talk about the hash function.
    When used as a programming symbol, we keep "SHA1".
    
    Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 3, 2013
  1. Junio C Hamano

    Sync with 1.8.1 maintenance track

    gitster authored
    * maint-1.8.1:
      Start preparing for 1.8.1.6
      git-tag(1): we tag HEAD by default
      Fix revision walk for commits with the same dates
      t2003: work around path mangling issue on Windows
      pack-refs: add fully-peeled trait
      pack-refs: write peeled entry for non-tags
      use parse_object_or_die instead of die("bad object")
      avoid segfaults on parse_object failure
      entry: fix filter lookup
      t2003: modernize style
      name-hash.c: fix endless loop with core.ignorecase=true
  2. Junio C Hamano

    git-tag(1): we tag HEAD by default

    Thomas Rast authored gitster committed
    The <commit>|<object> argument is actually not explained anywhere
    (except implicitly in the description of an unannotated tag).  Write a
    little explanation, in particular to cover the default.
    
    Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 1, 2013
  1. tacker66 Junio C Hamano

    Documentation: the name of the system is 'Git', not 'git'

    tacker66 authored gitster committed
    Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 17, 2012
  1. John Keeping Junio C Hamano

    Documentation: don't link to example mail addresses

    johnkeeping authored gitster committed
    Email addresses in documentation are converted into mailto: hyperlinks
    in the HTML output and footnotes in man pages.  This isn't desirable for
    cases where the address is used as an example and is not valid.
    
    Particularly annoying is the example "jane@laptop.(none)" which appears
    in git-shortlog(1) as "jane@laptop[1].(none)", with note 1 saying:
    
    	1. jane@laptop
    	   mailto:jane@laptop
    
    Fix this by escaping these email addresses with a leading backslash, to
    prevent Asciidoc expanding them as inline macros.
    
    In the case of mailmap.txt, render the address monospaced so that it
    matches the block examples surrounding that paragraph.
    
    Helped-by: Jeff King <peff@peff.net>
    Signed-off-by: John Keeping <john@keeping.me.uk>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 22, 2012
  1. Junio C Hamano

    Merge branch 'jc/tag-doc'

    gitster authored
    Our documentation used to assume having files in .git/refs/*
    directories was the only to have branches and tags, but that is not
    true for quite some time.
    
    * jc/tag-doc:
      Documentation: do not mention .git/refs/* directories
Commits on Aug 6, 2012
  1. Junio C Hamano

    Documentation: do not mention .git/refs/* directories

    gitster authored
    It is an implementation detail that a new tag is created by adding a
    file in the .git/refs/tags directory.  The only thing the user needs
    to know is that a "git tag" creates a ref in the refs/tags namespace,
    and without "-f", it does not overwrite an existing tag.
    
    Inspired by a report from 乙酸鋰 <ch3cooli@gmail.com>; I think I
    caught all the existing mention in Documentation/ directory in the
    tip of 1.7.9.X maintenance track, but we may have added new ones
    since then.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 27, 2012
  1. Nguyễn Thái Ngọc Duy Junio C Hamano

    tag: add --column

    pclouds authored gitster committed
    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 9, 2012
  1. Tom Grennan Junio C Hamano

    tag: add --points-at list option

    tgrennan authored gitster committed
    This filters the list for tags of the given object.
    Example,
    
       john$ git tag v1.0-john v1.0
       john$ git tag -l --points-at v1.0
       v1.0-john
       v1.0
    
    Signed-off-by: Tom Grennan <tmgrennan@gmail.com>
    Reviewed-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 6, 2012
  1. Junio C Hamano

    Merge branch 'jc/show-sig'

    gitster authored
    * jc/show-sig:
      log --show-signature: reword the common two-head merge case
      log-tree: show mergetag in log --show-signature output
      log-tree.c: small refactor in show_signature()
      commit --amend -S: strip existing gpgsig headers
      verify_signed_buffer: fix stale comment
      gpg-interface: allow use of a custom GPG binary
      pretty: %G[?GS] placeholders
      test "commit -S" and "log --show-signature"
      log: --show-signature
      commit: teach --gpg-sign option
    
    Conflicts:
    	builtin/commit-tree.c
    	builtin/commit.c
    	builtin/merge.c
    	notes-cache.c
    	pretty.c
Commits on Dec 9, 2011
  1. Kirill A. Shutemov Junio C Hamano

    git-tag: introduce --cleanup option

    kiryl authored gitster committed
    Normally git tag strips tag message lines starting with '#', trailing
    spaces from every line and empty lines from the beginning and end.
    
    --cleanup allows to select different cleanup modes for tag message.
    It provides the same interface as --cleanup option in git-commit.
    
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 29, 2011
  1. Junio C Hamano

    gpg-interface: allow use of a custom GPG binary

    gitster authored
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Oct 5, 2011
  1. Junio C Hamano

    Merge branch 'mg/branch-list'

    gitster authored
    * mg/branch-list:
      t3200: clean up checks for file existence
      branch: -v does not automatically imply --list
      branch: allow pattern arguments
      branch: introduce --list option
      git-branch: introduce missing long forms for the options
      git-tag: introduce long forms for the options
      t6040: test branch -vv
    
    Conflicts:
    	Documentation/git-tag.txt
    	t/t3200-branch.sh
Commits on Aug 29, 2011
  1. Michael J Gruber Junio C Hamano

    git-tag: introduce long forms for the options

    mjg authored gitster committed
    Long forms are better to memorize and more reliably uniform across
    commands.
    
    Design notes:
    
    -u,--local-user is named following the analogous gnupg option.
    
    -l,--list is not an argument taking option but a mode switch.
    
    Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jun 20, 2011
  1. Jeff King Junio C Hamano

    tag: accept multiple patterns for --list

    peff authored gitster committed
    Until now, "git tag -l foo* bar*" would silently ignore the
    second argument, showing only refs starting with "foo". It's
    not just unfriendly not to take a second pattern; we
    actually generated subtly wrong results (from the user's
    perspective) because some of the requested tags were
    omitted.
    
    This patch allows an arbitrary number of patterns on the
    command line; if any of them matches, the ref is shown.
    
    While we're tweaking the documentation, let's also make it
    clear that the pattern is fnmatch.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 28, 2011
  1. Junio C Hamano

    Merge branch 'maint'

    gitster authored
    * maint:
      git tag documentation grammar fixes and readability updates
      grep: Add the option '--line-number'
  2. Michael Witten Junio C Hamano

    git tag documentation grammar fixes and readability updates

    mfwitten authored gitster committed
    ... with help from Eric Raible.
    
    In addition, describe the use of GIT_COMMITTER_DATE more comprehensively
    by including "date-formats.txt"
    
    Signed-off-by: Michael Witten <mfwitten@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 11, 2011
  1. Jeff King

    doc: drop author/documentation sections from most pages

    peff authored
    The point of these sections is generally to:
    
      1. Give credit where it is due.
    
      2. Give the reader an idea of where to ask questions or
         file bug reports.
    
    But they don't do a good job of either case. For (1), they
    are out of date and incomplete. A much more accurate answer
    can be gotten through shortlog or blame.  For (2), the
    correct contact point is generally git@vger, and even if you
    wanted to cc the contact point, the out-of-date and
    incomplete fields mean you're likely sending to somebody
    useless.
    
    So let's drop the fields entirely from all manpages except
    git(1) itself. We already point people to the mailing list
    for bug reports there, and we can update the Authors section
    to give credit to the major contributors and point to
    shortlog and blame for more information.
    
    Each page has a "This is part of git" footer, so people can
    follow that to the main git manpage.
Commits on Feb 15, 2011
  1. Michael J Gruber Junio C Hamano

    git-tag.txt: list all modes in the description

    mjg authored gitster committed
    Currently, the description sounds as if it applied always, but most of
    its content is true in "create tag mode" only.
    
    Make this clearer by listing all modes upfront.
    
    Also, sneak in some linguistic improvements and make it clearer that
    lightweight tags are "created" because "written" may be misread as
    "are output".
    
    Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 3, 2010
  1. Matthieu Moy Junio C Hamano

    Change "tracking branch" to "remote-tracking branch"

    moy authored gitster committed
    One more step towards consistancy. We change the documentation and the C
    code in a single patch, since the only instances in the C code are in
    comment and usage strings.
    
    Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 10, 2010
  1. trast

    Documentation: spell 'git cmd' without dash throughout

    trast authored
    The documentation was quite inconsistent when spelling 'git cmd' if it
    only refers to the program, not to some specific invocation syntax:
    both 'git-cmd' and 'git cmd' spellings exist.
    
    The current trend goes towards dashless forms, and there is precedent
    in 647ac70 (git-svn.txt: stop using dash-form of commands.,
    2009-07-07) to actively eliminate the dashed variants.
    
    Replace 'git-cmd' with 'git cmd' throughout, except where git-shell,
    git-cvsserver, git-upload-pack, git-receive-pack, and
    git-upload-archive are concerned, because those really live in the
    $PATH.
Commits on Aug 29, 2009
  1. Junio C Hamano

    UI consistency: allow --force for where -f means force

    René Scharfe authored gitster committed
    git branch, checkout, clean, mv and tag all have an option -f to override
    certain checks.  This patch makes them accept the long option --force as
    a synonym.
    
    While we're at it, document that checkout support --quiet as synonym for
    its short option -q.
    
    Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 25, 2009
  1. Junio C Hamano

    Documentation: consistently refer to check-ref-format

    Nanako Shiraishi authored gitster committed
    Change the <name> placeholder to <tagname> in the SYNOPSIS section of
    git-tag documentation, and describe it in the OPTIONS section in a way
    similar to how documentation for git-branch does.
    
    Add SEE ALSO section to list the other documentation pages these two pages
    refer to.
    
    Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 6, 2009
  1. Jari Aalto Junio C Hamano

    git-tag(1): Refer to git-check-ref-format(1) for <name>

    jaalto authored gitster committed
    Explain briefly what characters are prohibited in tag <name>
    and point to git-check-ref-format(1) manual page for
    further information.
    
    Signed-off-by: Jari Aalto <jari.aalto@cante.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 30, 2009
  1. Junio C Hamano

    Merge branch 'maint-1.6.1' into maint

    gitster authored
    * maint-1.6.1:
      Fix bash completion in path with spaces
      bash completion: only show 'log --merge' if merging
      git-tag(1): add hint about commit messages
      Documentation: update graph api example.
    
    Conflicts:
    	contrib/completion/git-completion.bash
  2. Junio C Hamano

    Merge branch 'maint-1.6.0' into maint-1.6.1

    gitster authored
    * maint-1.6.0:
      Fix bash completion in path with spaces
      bash completion: only show 'log --merge' if merging
      git-tag(1): add hint about commit messages
      Documentation: update graph api example.
Something went wrong with that request. Please try again.