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
daemon: plug memory leak
2015-11-02
René Sch
a
rfe
daemon:
plug memo
r
y
l
eak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Ren
é
Scharfe
run-command: factor
o
ut child_proce
s
s_clear
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Re
n
é Sc
h
a
rfe
d
ir:
r
e
move u
n
used variable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Ren
é
Scharfe
clean: rem
o
ve
u
nused variabl
e
buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Sc
h
a
rfe
use
file_
e
xis
t
s
(
) to check i
f
a file exis
t
s in
t
he
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René Scharfe
pack-b
i
t
m
ap
s
:
plug me
m
or
y
lea
k
, fix allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
use isxdigit() for checking if
a
chara
c
t
e
r is a hexadecima
l
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
Scharfe
dae
m
on:
deglobalize hos
t
na
m
e
info
r
mation
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: use
s
trbuf for hostname
info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
S
charfe
zlib
:
initia
l
ize git_zs
t
ream in git_def
l
ate_init{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
arc
h
i
v
e-zi
p
: mark text files
in archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Scharfe
s
ha1_name:
u
se strlcpy() to
c
op
y
strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scha
r
fe
p
r
ett
y
: us
e
star
t
s_
w
ith
(
)
t
o check
f
or a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scha
r
fe
for-eac
h
-re
f
: use skip_prefi
x
() to
a
void
dupli
c
ate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Sch
a
r
fe
connect: us
e
strcmp
(
)
f
or str
i
n
g compari
s
on
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
e
né Scharfe
daemon: use
c
al
l
b
a
ck to bui
l
d interpolated path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon:
l
ook up client-supplied hostname la
z
ily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
S
c
harfe
refs: plug strbuf le
a
k
in
lock_ref_sha1
_
b
asic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né S
c
harfe
t
r
ansport:
s
implify du
p
licating a substring in transport_ge
t
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
fe
merge: releas
e
strbuf after us
e
i
n
s
ugges
t
_
c
onflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
commit-tree: simpli
f
y parsing of
opt
i
o
n
-S u
s
in
g
skip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
R
e
n
é Scharfe
use str
b
uf_co
m
plete_line(
)
fo
r
addin
g
a newline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use labs() fo
r
va
r
ia
b
l
es of ty
p
e l
o
ng instead
o
f abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use
labs() f
o
r
vari
a
bles o
f
type long in
s
tead
o
f a
b
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
run-command: use void to declare that
f
unctio
n
s
t
a
ke
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Schar
f
e
us
e
a
r
gs member of struct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
t
r
ailer: use CHI
L
D
_
PROCESS
_
IN
I
T
in
a
pply_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Re
n
é
Scharfe
api-run-command: add mis
s
i
n
g
list item marker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use child_p
r
o
c
ess_
i
nit() to initialize struct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
rece
i
ve-
p
ack: avoid
mino
r
l
eak
in case st
a
rt_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
Sc
h
arfe
g
rep: a
d
d colo
r
.
grep
.
matchcontext and color
.
grep
.
m
a
tchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
use env_
a
rray mem
b
er of struct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
r
u
n-command: add env_arra
y
, an op
t
ional a
r
g
v_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
r
e
c
e
ive-pack
:
plu
g
mi
n
or
m
emor
y
leak in
un
p
ack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use skip_p
r
efi
x
(
) to avoid more magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
m
ail
s
plit: r
e
m
o
ve unne
c
essar
y
unlink(2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundle: plug
mi
n
o
r mem
o
ry leak in
i
s_tag_in_date_
r
ange()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Sc
h
arfe
daemon: remove wr
i
te-only
v
ariabl
e
ma
x
fd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
Scha
r
f
e
daemon: fix err
o
r m
e
ssage after bind(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
harf
e
daemon: handl
e
g
ethostbyname(
)
e
r
ror
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-lookup: handle duplicat
e
s in sh
a
1_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
h
arf
e
s
h
a1-ar
r
ay: add test-sha1-array and basic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
René
S
c
h
arfe
t009
0
:
avoid pass
i
ng
e
mpty strin
g
to print
f
%d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Scharf
e
re
m
ote: si
m
plif
y
mat
c
h_name_wi
t
h_patt
e
rn()
using st
r
bu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Scharfe
g
r
aph
:
s
i
mpl
i
fy g
r
aph_p
a
ddi
n
g_
l
ine
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use REALLOC_ARRAY for changing the allo
c
ation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é Scha
r
fe
ad
d
mac
r
o REALLOC_ARR
A
Y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René S
c
harfe
repack: call pr
u
ne_packed_o
b
jects
(
) and
u
pd
a
t
e_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
S
c
har
f
e
strbuf
:
use strbuf_add
c
hars() for
a
ddi
n
g
a
c
har multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
Re
n
é Scharfe
s
t
rbuf: ex
p
ort strbuf_addchars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
Re
n
é
Scharfe
trace: correct trace_strbuf
(
) p
a
ramete
r
typ
e
for !HAVE
_
VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
imap-send:
s
i
m
plify v_issue_imap_
c
md()
a
n
d
get
_
cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
e
n
é Scha
r
fe
m
e
rge-
t
ree: remove unused
d
f
_
conflict arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Scha
r
fe
http-walker:
s
i
mplify
process_alternates
_
r
espons
e
(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
config
:
simplify git_config_i
n
clude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
p
ack-write:
s
i
m
plify
i
n
dex_pack_lockfile us
i
ng skip_pr
e
fix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harfe
c
onnect: simplify chec
k
_ref()
using s
k
ip_prefi
x
() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_add_abs
o
lute_p
a
th()
to add absol
u
te
p
aths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Scharfe
abspath: conv
e
rt absolute_path() t
o
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né S
c
h
a
rfe
use
x
getcwd()
to set
$
G
IT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
S
char
f
e
use xg
e
tc
w
d() to get t
h
e cur
r
ent di
r
ectory
or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
wrapper:
add xgetcwd(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath: convert real_path_inter
n
al()
t
o
strb
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
abspath: use strbuf_
g
etcwd() to remember origina
l
working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
setup:
convert s
e
tup_git
_
directory
_
gentl
y
_
1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
Re
n
é S
c
harfe
wal
k
e
r
: avo
i
d q
u
adratic l
i
st insertion in mark_
c
om
p
lete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René S
c
harfe
s
h
a1_name: av
o
id quad
r
atic list insertion
in handle
_
o
ne_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-
c
om
m
and: inl
i
n
e prepare_run_command_v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
u
n
-
c
ommand: call run_command_v_opt_cd_env() instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Re
n
é S
c
h
a
rfe
run-c
o
m
mand: introduc
e
child_process_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René
Scharfe
r
u
n-command: introdu
c
e
C
H
ILD_PROCESS_I
N
IT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
Ren
é
Sc
h
arfe
turn path ma
c
ros i
n
to
i
nline fun
c
tion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
clean: use f(void)
i
nstead of f() t
o
d
ecla
r
e a pointer
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
R
ené
S
charfe
read-cache: che
c
k f
o
r lead
i
ng sy
m
l
inks when ref
r
esh
i
ng
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
init: av
o
id
su
p
erfluou
s
real_pa
t
h() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René S
c
harfe
uni
x
-sockets: use strbuf_getcwd
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
R
ené Scharfe
strbuf: add strbuf_
g
etcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
S
char
f
e
use x
m
em
d
upz
(
) to
a
llocat
e
cop
i
es of
strings giv
e
n
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
Scharfe
use x
c
alloc() to allocate
z
e
r
o-initialized memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
Ren
é
S
c
harfe
unix-socket: remove stale soc
k
et before callin
g
chdir()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
arfe
remote-te
s
t
svn
:
us
e
internal argv_array of
struct child_proc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
b
undle:
use in
t
ernal argv_array
o
f struct c
h
ild_proce
s
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René S
c
harfe
fast-import: use hashcmp
(
) for SHA1 hash comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
transpor
t
:
simplify fetch_objs_via
_
rs
y
n
c
() using argv_array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
R
e
n
é
S
ch
a
rfe
run
-
command: use in
t
er
n
a
l arg
v
_array of struct
c
h
ild_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Sch
a
rfe
u
s
e commit_list_count() t
o
co
u
nt the members
o
f
c
o
mmit_lists
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René
Scharfe
s
t
rbuf: use
s
trbuf_addstr() for adding C strings
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-16
René Sc
h
arfe
annotate
:
use argv_array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René S
c
harfe
fsck: simplify fsck_commit_buffe
r
(
)
by us
i
ng
commit_
l
i
st_c
o
unt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
commi
t
:
use
c
ommit_
l
ist_append() instead of
duplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Scha
r
fe
me
r
ge: simplify merge_trivial() by us
i
ng commit_
l
i
s
t_append()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Scharfe
use s
t
r
b
uf_addch for ad
d
ing single characters
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
use
s
trbuf
_
addbuf for adding strbufs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
René Scharf
e
line
-
log:
u
s
e commit_list_a
p
pend() inste
a
d of
d
u
plicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
Re
n
é
S
c
h
arf
e
diff
-
tree: ca
l
l free_commit_list() instea
d
of dupli
c
ating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-07
René Scharfe
t5000, t5003: simplify comm
i
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-01
René Schar
f
e
sha1_file
:
a
void ove
r
r
u
nning alternat
e
object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Sc
h
arfe
s
ha1_file: replace
PA
T
H
_
M
AX bu
f
fer with strbuf in prepare_pa
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
R
ené Scharfe
wt-s
t
atus
:
simplify
b
uildin
g
of summar
y
l
imi
t
a
r
g
u
ment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
wt-status
:
use argv_arr
a
y
f
or envi
r
onmen
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next