repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
add coccicheck make target
2016-09-15
René Scha
r
fe
ad
d
coccicheck ma
k
e
targe
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
R
ené Scharfe
contrib/coccin
e
ll
e
:
fix se
m
antic patch for oid_to_hex_
r
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-29
R
e
né Scharfe
p34
0
0: make
t
e
s
t script e
x
ec
u
tabl
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
Scharf
e
r
ec
e
i
v
e-pack: use FL
E
X_ALLOC_
M
E
M i
n
queue_c
o
mmand()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
commit: use FLEX_ARRAY in st
r
uct merge_remote_desc
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
R
e
n
é Scha
r
f
e
merge-rec
u
rsive: fix verbose outpu
t
for multi
p
le base
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
c
ommit: factor ou
t
set_merge
_
r
e
mo
t
e_de
s
c()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Ren
é
Scha
r
fe
commit: use xstrdup() in
get_merge_p
a
rent()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
S
char
f
e
m
ailinfo:
recycle strbuf in c
h
eck_he
a
der(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
correct FLEXPTR_*
e
xample in comment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
R
ené Scharfe
use strbuf_a
d
d_unique_abbr
e
v() for adding sh
o
rt
h
a
shes
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
René Scharfe
archive
-
tar: make w
r
ite_extended_he
a
der() void
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René
S
charfe
nedm
a
lloc: wor
k
aroun
d
overzealous GCC 6 warning
Signed-off-by: René Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
ené
Scharfe
merge: use string_list_split() in
add_strateg
i
es()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scharfe
merge-recursive: use
S
T
R
ING_LIS
T
_
I
NIT_
N
OD
U
P
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scharfe
use
C
HIL
D
_PROC
E
SS_INIT to initialize
a
utomati
c
variables
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
e
né
Scharfe
u
se strbuf
_
a
ddstr
(
)
instead of st
r
buf_add
f
()
with "%s"
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René Scha
r
f
e
pa
s
s
constants as first ar
g
ume
n
t to st_mult()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René Scharfe
us
e
s
t
rbuf_addstr() for adding constant strings to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-22
René S
c
ha
r
f
e
strbuf: a
v
oid calling strb
u
f_grow() t
w
i
c
e
in
strbuf_addbuf()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
René Scharfe
submodule-config: use explicit
empty str
i
ng
instea
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
René Schar
f
e
u
s
e strbuf_a
d
dbu
f
(
)
for appending a
s
trbuf
to
another
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René Scharfe
wor
k
tree:
u
se s
t
rbuf_add_absolut
e
_p
a
t
h
() dire
c
tly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
R
ené Sch
a
rf
e
rm: reuse
strbuf fo
r
all remo
v
e_di
r
_
r
ecurs
i
v
e
l
y
(
) calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-08
René Scharfe
am: ignore retur
n
value
of write_f
i
le()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
Ren
é
S
c
h
a
rfe
notes-mer
g
e: use O_EXCL
to avoi
d
overwriting ex
i
sting
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
René Scha
r
fe
.
gitattr
i
butes
:
se
t
file type for C
f
iles
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
René Scharfe
xdiff: fix merging
o
f appended
h
unk w
i
th -
W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Sc
h
arfe
p
e
rf: make
t
he t
e
sts work
without a work
t
ree
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Schar
f
e
g
r
ep: -
W
: don't extend cont
e
xt
t
o tr
a
i
l
i
n
g empty lines
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
S
charfe
t7810:
a
dd test for
g
rep -W and
t
railing empty context
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
e
n
é
S
charfe
xdiff: don't trim
common tail wit
h
-
W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Schar
f
e
xdiff:
-
W: don
'
t include com
m
on trai
l
in
g
empty lin
e
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Sch
a
rfe
xdif
f
: ignore empty lin
e
s befo
r
e added functions
w
it
h
-W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Schar
f
e
xdiff: handle
a
ppended chu
n
ks
b
etter with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharf
e
xdi
f
f
:
factor out match_func_re
c
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
t4051: rewrite, add mo
r
e
tes
t
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
R
ené Sch
a
rfe
p
a
tch-id: use starts
_
with(
)
and skip_
p
refix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
R
ené Scharfe
apply:
remove unused
p
a
ramet
e
rs from name_termina
t
e()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
Ren
é
Scharfe
wt-status: correc
t
and s
i
mplify check for detach
e
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
show-re
f
:
s
top using PA
R
S
E
_OPT_NO
_
I
N
TERNAL
_
HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Re
n
é Scharfe
fsck: treat a
N
UL in a tag header as an e
r
ror
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Sc
h
arfe
grep: stop
usin
g
PAR
S
E_OP
T
_NO_INTERNAL_
H
E
L
P
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
e
n
é Scharf
e
t1450: add tests fo
r
NU
L
in headers o
f
com
m
its and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
parse-optio
n
s: all
o
w
-
h as a short opti
o
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
parse-options: inline parse_options_usa
g
e() at its
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scha
r
fe
pars
e
-options: deduplicate parse_options_usage() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
d
aemon: plug memory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René S
c
h
arfe
run
-
command: factor out
c
hild
_
process_cle
a
r()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharf
e
show-bran
c
h: use argv_arr
a
y for
d
efault argumen
t
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
e
né
Sch
a
rfe
w
t-s
t
atus: use skip_prefi
x
() to
get rid of magic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
e
né Scharf
e
wt-status: d
o
n't skip a magic
a
l number of characters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é Sch
a
r
fe
wt-stat
u
s: avoid building bogus
b
ran
c
h
n
ame with d
e
t
a
c
h
ed
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Scharf
e
wt
-
st
a
tus: exit ea
r
ly u
s
ing goto in wt_shortstatus_pr
i
nt
_
tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é Sc
h
ar
f
e
t7060: add test
f
o
r st
a
t
u
s --bran
c
h on a detach
e
d HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
R
ené Schar
f
e
use
p
op_commit() for
consumin
g
the fir
s
t
e
ntry of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
arch
i
ve-zip:
s
uppo
r
t more
t
ha
n
65535 en
t
ries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Schar
f
e
archi
v
e-
z
ip: us
e
a local
v
ariable to
s
tore t
h
e creator
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
Ren
é
S
c
ha
r
fe
t5004: test ZIP archives
with
many
entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René Schar
f
e
diff: parse w
s
-error-highlight op
t
i
o
n
more stric
t
ly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Re
n
é Scharfe
dir: remove unused v
a
riable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René S
c
h
ar
f
e
clea
n
: remove unused variable b
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
use
f
ile_exis
t
s() to check if a file
exists in t
h
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
R
e
n
é
S
c
harfe
pa
c
k
-
bitmaps: plug me
m
ory leak, f
i
x allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
ené
S
charfe
use i
s
xdig
i
t() for checking if a ch
a
racter is a hexadecimal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
e
né Scharf
e
daemon: deglobalize hostname information
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: use
str
b
u
f for hostnam
e
i
n
fo
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
z
lib: initi
a
lize git_zstream in
git_deflate_init{,
_
gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
archive-z
i
p: mar
k
text files in arc
h
ive
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Scharfe
sha1_name:
use
s
trlcpy() to copy s
t
rings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Sc
h
arf
e
pretty
:
use starts_with() to check for
a
prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharf
e
for
-
each-ref: use s
k
ip_prefix() to avoid duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connec
t
:
use strcmp() for
s
tring compa
r
ison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon: use callb
a
ck
t
o build inte
r
p
o
lat
e
d
path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
Ren
é
Scharfe
da
e
mon: look up
c
l
i
e
n
t-supplied
hostna
m
e lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
ref
s
: plug s
t
rbuf
leak in l
o
ck_ref_sh
a
1_ba
s
i
c
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Scharfe
t
r
ansport: simplify duplicating a substring in
transport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
merge: release strbuf a
f
te
r
use
in suggest_conflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
f
e
c
o
mmit-tr
e
e: simpli
f
y parsing
o
f option
-S using skip_pr
e
fix(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René
Scharfe
us
e
strbuf
_
c
omple
t
e_line() for adding a newline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René S
c
h
a
rfe
use la
b
s() for variables o
f
t
y
pe long
i
n
s
tead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Sch
a
rfe
u
s
e
lab
s
() for v
a
riables of typ
e
long instead of abs(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
run
-
comman
d
:
use void to decla
r
e that functions
take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Scha
r
fe
use a
r
gs member of stru
c
t child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Sc
h
arfe
trailer: use CHILD_PROCESS_INIT in
a
pply_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-run-command: add mi
s
sing
list item marker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René S
c
harfe
use c
h
ild_pr
o
cess_in
i
t() to initialize s
t
r
u
c
t
child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené
Scharfe
receive-pack: avoid minor leak i
n
case start_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: add
c
ol
o
r
.
gre
p
.
matchcon
t
ext a
n
d color
.
grep
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
ené Scharfe
use env
_
ar
r
ay member of struct
c
hil
d
_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René S
c
har
f
e
run-com
m
and: add e
n
v_array, an
o
ptional argv_a
r
ray
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René S
c
harf
e
r
eceive-pack: plug minor memory leak in unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
us
e
s
kip_prefix(
)
to avoid mor
e
magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
mailsplit: rem
o
ve unnece
s
sary unli
n
k(2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Ren
é
Schar
f
e
bundl
e
: plug mi
n
or memory leak in is_tag_in_date_r
a
nge()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né
Scharfe
daemon: remo
v
e write-only variab
l
e maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené
S
charfe
dae
m
o
n
: fix er
r
or messag
e
after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
S
charfe
daemon:
handl
e
gethostby
n
ame() er
r
or
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Sc
h
arfe
sha1-lookup: handle
duplica
t
es in sha
1
_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
sh
a
1-array: add test-sha1-array and basic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next