Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 22, 2008
  1. @dscho @gitster

    Rename path_list to string_list

    dscho authored gitster committed
    The name path_list was correct for the first usage of that data structure,
    but it really is a general-purpose string list.
    
    $ perl -i -pe 's/path-list/string-list/g' $(git grep -l path-list)
    $ perl -i -pe 's/path_list/string_list/g' $(git grep -l path_list)
    $ git mv path-list.h string-list.h
    $ git mv path-list.c string-list.c
    $ perl -i -pe 's/has_path/has_string/g' $(git grep -l has_path)
    $ perl -i -pe 's/path/string/g' string-list.[ch]
    $ git mv Documentation/technical/api-path-list.txt \
    	Documentation/technical/api-string-list.txt
    $ perl -i -pe 's/strdup_paths/strdup_strings/g' $(git grep -l strdup_paths)
    
    ... and then fix all users of string-list to access the member "string"
    instead of "path".
    
    Documentation/technical/api-string-list.txt needed some rewrapping, too.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 25, 2007
  1. @dscho @gitster

    git log -g: Complain, but do not fail, when no reflogs are there

    dscho authored gitster committed
    When asking "git log -g --all", clearly you want to see only those refs
    that do have reflogs, but you do not want it to fail, either.
    
    So instead of die()ing, complain about it, but move on to the other refs.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 9, 2007
  1. @dscho

    log --reflog: use dwim_log

    dscho authored Junio C Hamano committed
    Since "git log origin/master" uses dwim_log() to match
    "refs/remotes/origin/master", it makes sense to do that for
    "git log --reflog", too.
    
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @dscho

    log --reflog: honour --relative-date

    dscho authored Junio C Hamano committed
    If you say "git log -g --relative-date", it is very likely that
    you want to see the reflog names in terms of a relative date.
    
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Feb 2, 2007
  1. @dscho

    Teach the '@{...}' notation to git-log -g

    dscho authored Junio C Hamano committed
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Jan 21, 2007
  1. @dscho

    --walk-reflogs: actually find the right commit by date.

    dscho authored Junio C Hamano committed
    Embarassing thinko.
    
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
  2. @dscho

    --walk-reflogs: disallow uninteresting commits

    dscho authored Junio C Hamano committed
    Do not allow uninteresting commits with --walk-reflogs, since it is
    not clear what should be shown in these cases:
    
    	$ git log --walk-reflogs master..next
    	$ git log --walk-reflogs ^master
    
    Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
  3. @dscho

    Teach the revision walker to walk by reflogs with --walk-reflogs

    dscho authored Junio C Hamano committed
    When called with "--walk-reflogs", as long as there are reflogs
    available, the walker will take this information into account, rather
    than the parent information in the commit object.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.