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
remove unnecessary NULL check before free(3)
2016-10-10
René Scharfe
rem
o
ve unnecessary NULL
check b
e
fore free
(
3)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-10-03
René Scharfe
coccic
h
eck: make
tr
a
nsform
a
tion f
o
r strbuf
_
addf(sb
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-27
Re
n
é
Scharfe
use s
t
rb
u
f_add_u
n
ique
_
abbrev() for add
i
ng short hashes
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-27
René Schar
f
e
u
s
e
s
trbu
f
_addstr() instead o
f
s
trbuf
_
addf() with
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-27
R
ené Scharf
e
gitignore
:
i
gnore
o
utput fi
l
es of
cocci
c
heck make ta
r
get
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
René Scha
r
fe
u
s
e strb
u
f_addstr(
)
f
o
r
a
dding constan
t
s
t
rin
g
s to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
René Scharf
e
a
d
d
coccicheck make tar
g
et
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
René Scha
r
fe
contrib/co
c
c
inelle: fix se
m
a
n
t
i
c
pat
c
h
for oi
d
_
t
o_hex
_
r()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-29
René S
c
harfe
p340
0
: mak
e
test script exec
u
table
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
r
e
c
eive-p
a
ck: use FLEX_ALLOC
_
M
E
M in
q
u
e
u
e
_
c
o
m
mand()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
S
charfe
c
o
m
m
it: use F
L
EX_ARRAY in struct
merge_
r
e
m
ote_
d
esc
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
S
charfe
merge-recursive: fix ver
b
ose o
u
tput for
multiple base
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Schar
f
e
commit
:
fa
c
tor ou
t
set_merge_remote_desc()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Re
n
é Scharf
e
commit: use xs
t
rdup() i
n
get_merge_parent
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Re
n
é
S
charfe
mailinfo: recyc
l
e strbuf
i
n check_head
e
r()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
R
ené Schar
f
e
correct F
L
EXPT
R
_* example in comme
n
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
René Sc
h
arfe
use strbuf_ad
d
_unique_abbrev() for adding short hash
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
René
Scha
r
fe
archi
v
e-t
a
r: ma
k
e w
r
it
e
_extended_header
(
) void
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
ené Schar
f
e
nedmalloc: work around ove
r
zealous G
C
C 6 warnin
g
Signed-off-by: René Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scharfe
merge
:
u
s
e
s
tring_list_spl
i
t() in add_strategies
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Schar
f
e
m
e
rge-recursive:
u
se STRING_LIST_INIT_NODUP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
ené Scharf
e
use CHILD_PROCESS_INIT t
o
in
i
tialize aut
o
matic variables
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
ené Scharfe
use strbuf_
a
ddstr() instead of strbuf_addf() with
"
%
s"
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René S
c
harfe
p
a
ss con
s
tants as
f
irst argument
t
o
s
t_mult()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René Scharfe
use strbu
f
_addstr
(
) f
o
r adding const
a
n
t strings to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-22
René Scharfe
strbuf: av
o
id
cal
l
ing s
t
rb
u
f_grow()
t
wi
c
e in strbuf_ad
d
b
u
f
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
R
e
né Scharfe
submodule-config: use explic
i
t emp
t
y
string instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
René Scharfe
use st
r
b
u
f
_
ad
d
buf
(
) f
o
r
a
ppending a st
r
buf to a
n
o
ther
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René Scharfe
worktree
:
use
s
tr
b
uf_a
d
d_absolute_p
a
th
(
) d
i
re
c
tl
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René
Sc
h
a
rfe
rm:
reuse st
r
b
u
f
for al
l
r
e
move
_
dir_recur
s
i
v
ely() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-08
R
e
né
S
c
h
a
r
fe
am: ignore return value of
w
rit
e
_file()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
Re
n
é Scharfe
notes-merge: use O_EXCL
to avoid o
v
erwriting existing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
Ren
é
Scharfe
.
gitattributes: set file t
y
pe for C file
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
R
e
n
é S
c
harfe
x
diff:
f
i
x m
e
rging of a
p
pended hunk with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
e
n
é Scharfe
p
erf: make the
t
ests work w
i
thout a work
t
ree
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scha
r
f
e
grep: -W: don't extend
c
on
t
ext to tr
a
il
i
ng empty li
n
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Sch
a
rfe
t
7810: add test for grep -W and
t
railin
g
empty context
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
e
né Sch
a
rfe
xdiff: don't trim
c
ommon tail with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Ren
é
S
c
h
arfe
x
d
iff: -W: do
n
't
i
n
clude common trailin
g
empty
l
ines
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Scharfe
xdiff:
ignor
e
empty lines before added functions with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scharfe
xdiff: ha
n
dle appende
d
chunks better with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René S
c
harf
e
x
diff: factor o
u
t match_func_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Scharfe
t4051: rewrit
e
, a
d
d more te
s
ts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René S
c
har
f
e
patch-id: use starts_with() and skip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Scharfe
appl
y
: remove
u
nused
parameters from name_termi
n
ate()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Sch
a
rfe
w
t-
s
ta
t
us: correct
and si
m
plify check for detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
ené Scharfe
show
-
ref:
stop
u
sing PARS
E
_O
P
T_
N
O_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
fs
c
k
:
treat a N
U
L in a tag h
e
a
d
e
r as an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharfe
gr
e
p: stop usi
n
g PA
R
SE_
O
PT_N
O
_INT
E
R
N
AL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
t1450:
add tests for NUL i
n
headers
o
f
c
om
m
its and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Scharfe
parse-opti
o
ns: allow
-
h as a short op
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René S
c
harfe
p
arse-options
:
inline par
s
e_options_
u
sage() at
i
t
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
e
né Scharfe
parse-o
p
tions: dedup
l
icate pa
r
s
e
_options_usage()
calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Ren
é
Scharfe
daemon: pl
u
g me
m
ory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
run-command: factor
o
ut child_process_clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
S
c
harfe
show-b
r
anch
:
use
argv_
a
rray for
d
e
faul
t
arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Sch
a
r
fe
wt-status: use sk
i
p_pref
i
x(
)
to get rid of mag
i
c strin
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status: don't skip a m
a
gical
number of ch
a
r
acters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Sch
a
rfe
wt-sta
t
us
:
a
void building bogus bra
n
c
h
n
ame with detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
w
t
-status: exi
t
ear
l
y
u
sing
goto in wt_
s
horts
t
atus_print_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
t7060: a
d
d test for status --bra
n
ch
o
n a detac
h
e
d HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
R
e
né Scharfe
u
s
e
p
op_commit() f
o
r c
o
n
suming the
f
irst en
t
ry of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
e
n
é
Scharfe
archive-z
i
p: s
u
pport mo
r
e
than 65535
e
n
t
ries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
Re
n
é Scha
r
fe
archiv
e
-
z
ip:
u
se a local variable to stor
e
the creator
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
ené
Sch
a
rfe
t500
4
:
test ZIP archives
wit
h
many entri
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
Ren
é
S
c
harf
e
d
i
ff: parse ws-e
r
ro
r
-
h
ighligh
t
op
t
io
n
more strictly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
dir: remove
unuse
d
variable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Re
n
é Scharfe
clean: r
e
move unused v
a
r
i
able buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
u
s
e file_exists() to check
if
a
file exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René Sch
a
rfe
pack-
b
i
tmaps: plug
memory leak,
fix allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
e
né Sc
h
ar
f
e
use i
s
xdigit() for checking if
a
charac
t
er is a hexad
e
c
i
m
al
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
S
cha
r
f
e
dae
m
on: deglo
b
al
i
ze hos
t
name
inform
a
tion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é
Scharf
e
dae
m
on:
use strbuf for hostname info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
R
ené Scharf
e
zlib: initialize g
i
t_
z
str
e
am in git_
d
eflate_init{,_g
z
ip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
archi
v
e-
z
ip: mark text files in
archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Scharf
e
sha1_name: use strl
c
py() to copy strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Schar
f
e
pr
e
tty:
use
s
tarts
_
with() to
check for a
p
r
efix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for-each-re
f
: use skip
_
prefix() to avoid duplicat
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
S
charfe
connect: use strcmp() fo
r
string comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Sch
a
rfe
daemon: use c
a
l
l
back to bu
i
ld
interpol
a
ted
path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scha
r
f
e
daemon
:
look up client-supplied hostn
a
m
e
l
a
zily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
r
e
fs: plug st
r
buf leak
i
n lo
c
k_ref_sh
a
1
_
basic
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
transport: simplify duplicating a sub
s
t
r
ing in transport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
ené Scharfe
mer
g
e: release strbuf after
use in sug
g
est_conf
l
icts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Sc
h
arf
e
commi
t
-tre
e
:
simplify pars
i
ng o
f
option -S using skip
_
prefix(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
R
en
é
Scharf
e
use strbuf_c
o
mp
l
ete_line()
for
a
dding
a
newline i
f
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use
labs() f
o
r variables of t
y
pe
l
ong ins
t
ead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
ené Sc
h
arfe
u
s
e lab
s
() for
v
ariabl
e
s
of
type
l
o
ng
in
s
te
a
d 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 t
o
declare
t
hat fu
n
ctions take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Scharfe
use
args member of struct
c
h
i
ld_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scha
r
fe
trailer: us
e
CH
I
LD_P
R
OC
E
SS_INIT in apply_c
o
mmand()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scha
r
f
e
a
p
i-run-com
m
a
n
d
:
a
d
d
m
i
s
s
ing lis
t
item
mar
k
er
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
e
né
Scharfe
use child_proc
e
ss
_
i
n
i
t
() to initia
l
ize struct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
S
charfe
r
e
ceive-pack: avoid
minor leak in case start_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
gr
e
p: add
c
olor
.
g
rep
.
m
a
tchcont
e
xt a
n
d color
.
g
rep
.
m
a
tchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
ené Scharfe
use env_
a
r
r
ay m
e
mber
o
f struc
t
child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René
S
c
h
a
rfe
run-co
m
m
a
nd
:
add env
_
array,
an o
p
tional a
r
gv_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Sch
a
rfe
receive-pack: plug mi
n
or memory le
a
k
i
n unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
rfe
use skip_
p
ref
i
x
(
) to avoid more
m
agic
nu
m
ber
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Re
n
é S
c
h
arfe
mailsplit: remove u
n
necess
a
ry unlink(2) c
a
ll
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next