Re: [PATCH] fread does not return negative on error

From: Johannes Schindelin
Date: Wed Jun 24 2009 - 06:02:25 EST


Hi,

On Wed, 24 Jun 2009, Ingo Molnar wrote:

> One bookeeping issue: i found few explicit credits in those files -
> so i noted in the changelog that i took them from Git and i noted
> the specific upstream Git sha1 when i copied them. Would be nice to
> update each file with names to make credit more explicit:
>
> -rw-rw-r-- 1 mingo mingo 2808 2009-06-23 10:49 abspath.c
> -rw-rw-r-- 1 mingo mingo 1447 2009-06-23 10:49 alias.c
> -rw-rw-r-- 1 mingo mingo 4660 2009-06-23 10:49 cache.h
> -rw-rw-r-- 1 mingo mingo 4817 2009-06-23 10:49 color.c
> -rw-rw-r-- 1 mingo mingo 1187 2009-06-23 10:49 color.h
> -rw-rw-r-- 1 mingo mingo 19149 2009-06-23 10:49 config.c
> -rw-rw-r-- 1 mingo mingo 1041 2009-06-23 10:52 ctype.c
> -rw-rw-r-- 1 mingo mingo 256 2009-06-23 10:49 environment.c
> -rw-rw-r-- 1 mingo mingo 3262 2009-06-23 10:49 exec_cmd.c
> -rw-rw-r-- 1 mingo mingo 496 2009-06-23 10:49 exec_cmd.h
> -rw-rw-r-- 1 mingo mingo 8515 2009-06-23 10:49 help.c
> -rw-rw-r-- 1 mingo mingo 751 2009-06-23 10:49 help.h
> -rw-rw-r-- 1 mingo mingo 2592 2009-06-23 10:49 levenshtein.c
> -rw-rw-r-- 1 mingo mingo 201 2009-06-23 10:49 levenshtein.h
> -rw-rw-r-- 1 mingo mingo 1909 2009-06-23 10:49 pager.c
> -rw-rw-r-- 1 mingo mingo 12454 2009-06-23 10:49 parse-options.c
> -rw-rw-r-- 1 mingo mingo 5693 2009-06-23 10:49 parse-options.h
> -rw-rw-r-- 1 mingo mingo 7986 2009-06-23 10:49 path.c
> -rw-rw-r-- 1 mingo mingo 10442 2009-06-23 10:49 quote.c
> -rw-rw-r-- 1 mingo mingo 2667 2009-06-23 10:49 quote.h
> -rw-rw-r-- 1 mingo mingo 7966 2009-06-23 10:49 run-command.c
> -rw-rw-r-- 1 mingo mingo 2838 2009-06-23 10:49 run-command.h
> -rw-rw-r-- 1 mingo mingo 969 2009-06-23 10:49 sigchain.c
> -rw-rw-r-- 1 mingo mingo 215 2009-06-23 10:49 sigchain.h
> -rw-rw-r-- 1 mingo mingo 7270 2009-06-23 10:49 strbuf.c
> -rw-rw-r-- 1 mingo mingo 4995 2009-06-23 10:49 strbuf.h
> -rw-rw-r-- 1 mingo mingo 556 2009-06-23 10:52 string.c
> -rw-rw-r-- 1 mingo mingo 120 2009-06-23 10:52 string.h
> -rw-rw-r-- 1 mingo mingo 13859 2009-06-24 10:01 symbol.c
> -rw-rw-r-- 1 mingo mingo 1112 2009-06-23 10:52 symbol.h
> -rw-rw-r-- 1 mingo mingo 1690 2009-06-23 10:49 usage.c
> -rw-rw-r-- 1 mingo mingo 9878 2009-06-23 10:52 util.h
> -rw-rw-r-- 1 mingo mingo 4249 2009-06-23 10:49 wrapper.c

This here script:

-- snip --
for file in abspath.c alias.c cache.h color.c color.h config.c ctype.c \
environment.c exec_cmd.c exec_cmd.h help.c help.h levenshtein.c \
levenshtein.h pager.c parse-options.c parse-options.h path.c \
quote.c quote.h run-command.c run-command.h sigchain.c sigchain.h \
strbuf.c strbuf.h string.c string.h symbol.c symbol.h usage.c \
util.h wrapper.c
do
echo $file
git shortlog -n -s $file | head -n 2
done
-- snap --

outputs this (note that a few files you mentioned are not in git.git):

abspath.c
2 Junio C Hamano
1 Dmitry Potapov
alias.c
2 Jeff King
1 Felipe Contreras
cache.h
295 Junio C Hamano
98 Linus Torvalds
color.c
4 Junio C Hamano
3 Jeff King
color.h
2 Jeff King
2 Johannes Schindelin
config.c
65 Junio C Hamano
20 Johannes Schindelin
ctype.c
4 René Scharfe
2 Junio C Hamano
environment.c
29 Junio C Hamano
11 Johannes Schindelin
exec_cmd.c
8 Johannes Sixt
7 Junio C Hamano
exec_cmd.h
2 Junio C Hamano
2 Scott R Parish
help.c
18 Junio C Hamano
14 Christian Couder
help.h
2 Miklos Vajna
1 Alex Riesen
levenshtein.c
2 Johannes Schindelin
1 Mike Ralphson
levenshtein.h
1 Johannes Schindelin
pager.c
9 Junio C Hamano
4 Johannes Schindelin
parse-options.c
18 Pierre Habouzit
8 Junio C Hamano
parse-options.h
15 Pierre Habouzit
6 Stephen Boyd
path.c
20 Junio C Hamano
5 Johannes Sixt
quote.c
12 Junio C Hamano
5 Christian Couder
quote.h
6 Junio C Hamano
5 Christian Couder
run-command.c
11 Shawn O. Pearce
7 Johannes Sixt
run-command.h
10 Shawn O. Pearce
5 Johannes Sixt
sigchain.c
2 Jeff King
sigchain.h
2 Jeff King
strbuf.c
9 Pierre Habouzit
8 Junio C Hamano
strbuf.h
9 Pierre Habouzit
4 Junio C Hamano
string.c
string.h
symbol.c
symbol.h
usage.c
3 Linus Torvalds
2 Junio C Hamano
util.h
wrapper.c
4 Junio C Hamano
2 Linus Torvalds

Ciao,
Dscho