Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 28, 2007
  1. @meyering @gitster

    git-log: detect dup and fdopen failure

    meyering authored gitster committed
    This defines xdup() and xfdopen() in git-compat-util.h to give
    us error-catching variants of them without cluttering the code
    too much.
    
    Signed-off-by: Jim Meyering <jim@meyering.net>
    Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 15, 2007
  1. @meyering

    sscanf/strtoul: parse integers robustly

    meyering authored Junio C Hamano committed
    * builtin-grep.c (strtoul_ui): Move function definition from here, to...
    * git-compat-util.h (strtoul_ui): ...here, with an added "base" parameter.
    * builtin-grep.c (cmd_grep): Update use of strtoul_ui to include base, "10".
    * builtin-update-index.c (read_index_info): Diagnose an invalid mode integer
    that is out of range or merely larger than INT_MAX.
    (cmd_update_index): Use strtoul_ui, not sscanf.
    * convert-objects.c (write_subdirectory): Likewise.
    
    Signed-off-by: Jim Meyering <jim@meyering.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Apr 12, 2007
  1. @meyering

    sscanf/strtoul: parse integers robustly

    meyering authored Junio C Hamano committed
    * builtin-grep.c (strtoul_ui): Move function definition from here, to...
    * git-compat-util.h (strtoul_ui): ...here, with an added "base" parameter.
    * builtin-grep.c (cmd_grep): Update use of strtoul_ui to include base, "10".
    * builtin-update-index.c (read_index_info): Diagnose an invalid mode integer
    that is out of range or merely larger than INT_MAX.
    (cmd_update_index): Use strtoul_ui, not sscanf.
    * convert-objects.c (write_subdirectory): Likewise.
    
    Signed-off-by: Jim Meyering <jim@meyering.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.