repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
pack-bitmaps: plug memory leak, fix allocation size for recent_bitmaps
2015-05-19
R
ené Scharfe
p
a
c
k-bitmaps:
p
lug memory leak, f
i
x
alloc
a
tio
n
siz
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
ené Scharfe
use
isxdigit()
f
or
checki
n
g
if a characte
r
is a hexa
d
e
ci
m
al
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
Sc
h
arfe
z
l
ib: i
n
i
t
ialize git_zstream in git_d
e
flate_
i
nit{,
_
gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
sha1_nam
e
:
u
se
s
trlcpy(
)
to
c
opy
s
trings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
pretty: us
e
starts_w
i
t
h
() t
o
che
c
k
fo
r
a
pre
f
ix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
S
ch
a
rfe
for-each-ref:
us
e
skip
_
p
ref
i
x() to av
o
i
d
duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharf
e
connect
:
use
str
c
mp()
fo
r
string c
o
mpariso
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
dae
m
on: use callba
c
k
t
o
b
uild interpolated path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René
S
charfe
daemon:
look
up
c
lient-supp
l
i
e
d host
n
ame
lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
n
é
Scharfe
refs: pl
u
g
strbuf
leak i
n
lock_r
e
f
_
sha1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Sc
h
arfe
transpor
t
:
simp
l
ify duplica
t
i
ng a substring i
n
trans
p
ort_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Sch
a
r
fe
merge: release
st
r
buf after
u
se in suggest_conflict
s
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René S
c
ha
r
fe
c
ommit-t
r
ee: si
m
plify parsing
o
f option -S using
skip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
Ren
é
Scharfe
use strbuf_complete_line() for adding a newline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
e
n
é
Sc
h
arfe
use labs() for variables
of
t
y
p
e
l
ong inst
e
ad o
f
abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scha
r
f
e
use l
a
bs() for
variables
o
f
type long instead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René
S
c
harfe
run-comma
n
d: use
v
oid t
o
dec
l
are that
f
unctio
n
s
take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René S
c
h
arfe
use args m
e
mber of st
r
uc
t
c
hild_pr
o
cess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
tra
i
ler: use CHILD_PROCESS_INIT in app
l
y_c
o
m
m
and()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-r
u
n-command: add missing l
i
s
t
item m
a
r
k
er
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use chil
d
_process_
i
nit() t
o
initi
a
lize struct child_
p
ro
c
ess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené Scharfe
receive-pack:
a
v
oid m
i
n
or leak in case
s
t
art_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharf
e
grep: a
d
d color
.
g
rep
.
match
c
ont
e
xt and color
.
gre
p
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René S
c
h
arfe
use env_a
r
r
a
y membe
r
o
f struct child_
p
rocess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René S
c
harfe
run-co
m
ma
n
d
:
a
d
d e
n
v_array, an opti
o
nal argv_a
r
ra
y
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
receive-
p
ack: plug minor memory le
a
k in unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René S
c
h
a
rfe
u
se skip_pr
e
fix() t
o
av
o
id more magic nu
m
bers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
m
a
i
l
split: remove
u
nneces
s
ary 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
or m
e
m
ory leak in is_tag_in_
d
ate_
r
a
nge()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
S
charfe
daemon: rem
o
ve write-on
l
y vari
a
ble m
a
xfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é Scharf
e
daemon: fix er
r
or mes
s
a
g
e
after bin
d
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon:
handle gethostb
y
name()
error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sh
a
1-lookup: h
a
ndl
e
duplicate
s
in sha1_p
o
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é Scharfe
sha1-array: add test-sha1-arra
y
and basic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é Sch
a
r
f
e
t009
0
:
a
void
passing empty st
r
ing to printf %d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René
Sc
h
arfe
remote: simplify match_name_with_pattern
(
)
using
strbu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Sch
a
rfe
grap
h
: simplify
g
r
aph_padding_line(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Schar
f
e
use REAL
L
OC_AR
R
A
Y
for changing th
e
allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Sc
h
a
rfe
a
dd macro REALLO
C
_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repack: call prune_p
a
ck
e
d
_objects() a
n
d
updat
e
_
s
erver_
i
nf
o
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Sch
a
r
f
e
st
r
buf: use str
b
uf_addc
h
ars() for a
d
ding a char multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Schar
f
e
strbuf: export strbu
f
_addchars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
e
n
é
Scharfe
trace:
corre
c
t
t
race_strbu
f
() parameter type for !HAVE
_
VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
S
charfe
i
map-send: simp
l
ify
v
_issue_imap_
c
md() and get_cmd_r
e
sult
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
merge-tree: remove
u
nused df_
c
onflict
a
rguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
http-walk
e
r:
s
impli
f
y
proces
s
_alternate
s
_
response(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
ar
f
e
config: s
i
mplify git_c
o
nfig_i
n
clude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
pack-write:
simpli
f
y index_pack_lockfile usi
n
g
skip_pr
e
fi
x
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
con
n
e
c
t: simplif
y
c
h
eck_ref(
)
u
sing
s
kip_pre
f
ix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
use strbu
f
_ad
d
_absolu
t
e_p
a
th() t
o
add abso
l
ute
p
at
h
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é Scharfe
a
b
spat
h
: conv
e
rt absolut
e
_pa
t
h() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
use xgetcwd()
to set $GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
n
é Scharfe
use xgetcwd() to get the c
u
rrent directo
r
y o
r
die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Scharfe
wrappe
r
: add
xget
c
wd(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
a
bspa
t
h:
c
onver
t
re
a
l
_path_internal() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
abspath: use
strbuf_getcwd() to r
e
m
e
m
ber
o
r
igin
a
l
working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
s
etup: convert setup_git_
d
irec
t
ory_gently_1
e
t al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
Re
n
é
Sc
h
ar
f
e
w
alke
r
:
avoid quadratic list insertion in mark_
c
o
mplete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scha
r
fe
sha1_name: avoid
quadratic list insertion in handle_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
u
n-co
m
m
and: inlin
e
prepare_run_co
m
mand_v_o
p
t(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-c
o
mma
n
d: call run
_
command_v
_
opt_cd_env()
i
nste
a
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Re
n
é Scharfe
run-com
m
and: introd
u
ce c
h
il
d
_process_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
un-
c
omm
a
nd: intro
d
uce CHIL
D
_PROCE
S
S_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path macros
into in
l
ine functio
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
Re
n
é
S
charfe
clean: u
s
e f(voi
d
)
inste
a
d of
f
() to declare a pointer
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
René Sch
a
rfe
r
e
a
d-
c
ache: ch
e
ck for
leading sym
l
inks when
r
efr
e
shing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
init: avoid su
p
erfluous real_path()
c
alls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Sc
h
arfe
unix-sockets: u
s
e
strbuf_
g
etcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Schar
f
e
strbuf:
add str
b
uf
_
g
e
tcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use
xmemdupz() to allocate copies of strings gi
v
en
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Scha
r
fe
u
se
x
callo
c
() to allocate zero-initialized memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
R
ené Scha
r
fe
unix-socket:
r
em
o
ve st
a
le soc
k
et be
f
ore
calli
n
g chdir()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Schar
f
e
remot
e
-
testsvn
:
use
inter
n
al a
r
gv_
a
r
r
ay of struct
chi
l
d_pr
o
c
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
bun
d
le: use internal
a
r
gv_arr
a
y of stru
c
t child_proce
s
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René
S
charfe
fast-import: use hashcmp() for SHA1 ha
s
h
compa
r
ison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
t
r
a
n
sport: simplify fetch_objs_via_rsync() using argv_arr
a
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
Ren
é
Sc
h
arfe
run-command: use internal
argv_arr
a
y of struct child_proce
s
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
use commit
_
li
s
t_count() to c
o
unt
the member
s
of
commit_list
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René
S
c
har
f
e
strbuf: use strbuf_add
s
tr()
for ad
d
ing C strings
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-16
René Scharfe
annota
t
e: us
e
argv_array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Scharfe
fsck: simplify fsck_commit_buf
f
er()
b
y
u
s
ing com
m
i
t
_list_cou
n
t()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
commit: us
e
commit_list_
a
pp
e
nd(
)
instead
of duplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é
S
c
h
a
rfe
m
erge: simpl
i
fy merge_t
r
ivial() by usin
g
com
m
i
t_
l
is
t
_appe
n
d
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
use str
b
u
f
_a
d
dch for addi
n
g single c
h
aracters
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
u
se strbuf_addbuf for adding strbufs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
R
ené Sc
h
arfe
line-lo
g
: use commi
t
_list_append() i
n
stea
d
of
d
uplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
R
e
né Schar
f
e
d
iff-
t
ree: ca
l
l f
r
ee_c
o
mmit_list() instead of
d
uplicatin
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-07
Re
n
é Scharf
e
t5000, t5003: s
i
mplify
c
omm
i
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-01
Re
n
é Scharfe
sha1_file: avo
i
d ove
r
running alter
n
ate object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scha
r
fe
s
h
a1_file: replace PATH_MAX b
u
ffer with strb
u
f i
n
p
repare_pa
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
René Sc
h
arfe
wt-
s
t
atus
:
simplify bui
l
ding
o
f summa
r
y limit arg
u
ment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
w
t
-
s
tatus: use arg
v
_arr
a
y for environme
n
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
René Sch
a
rfe
blame: simpl
i
fy p
r
e
p
are_lines()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
René
Scharfe
blame: f
a
ctor ou
t
get_n
e
xt_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-09
René Scha
r
f
e
Use starts_with()
f
o
r
C strings instead o
f
m
e
mcmp()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
René
Schar
f
e
pa
c
k-objects: use free()+xcalloc(
)
instead of xrealloc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
René Schar
f
e
m
a
i
linfo:
use strcmp() fo
r
s
t
r
i
n
g comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-04-01
Ren
é
Scharf
e
rev-parse: fix typo i
n
example on manp
a
g
e
commit
|
commitdiff
|
tree
2014-03-24
René
S
charfe
pick
a
xe: sim
p
lify kwset loop in contains()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
R
en
é
Scharfe
p
i
ckaxe: call strlen
o
nly when necess
a
r
y in diffcore
_
pickaxe
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next