repo.or.cz
/
git
/
raj.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
am: release strbuf after use in split_mail_mbox()
2017-12-07
Ren
é
Scharfe
am:
r
elease
s
trbuf after us
e
in sp
l
it_
m
ail_
m
box()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
R
ené Schar
f
e
diff: parse ws-erro
r
-h
i
ghlight op
t
ion m
o
re strict
l
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René S
c
ha
r
fe
dir:
r
emove unu
s
ed variable
sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
clean:
remove u
n
used varia
b
le
buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
Scharfe
use fil
e
_exists() to check
i
f a file exists i
n
t
he
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René S
c
h
arfe
pa
c
k-bitmaps: plug m
e
mo
r
y l
e
ak, fi
x
al
l
o
cation s
i
ze
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é
S
c
harfe
use is
x
digit() for checking i
f
a character is a hexadecim
a
l
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Sch
a
rfe
dae
m
on: deglob
a
l
i
z
e
hostname informati
o
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Sc
h
arfe
daem
o
n: use s
t
rbuf f
o
r hostname info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scha
r
fe
zl
i
b: initialize
git_zstream
i
n git_deflate_init{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Sc
h
arfe
archive-z
i
p: mark te
x
t
f
iles in archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René S
c
harfe
s
ha1_n
a
me: us
e
s
t
rlcpy() to copy strin
g
s
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
S
c
harfe
pr
e
tt
y
: use
s
tar
t
s_with() to chec
k
f
o
r a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Sch
a
rfe
for-ea
c
h
-
ref: use skip_p
r
efix() to avoid
duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
c
o
n
nect: use
strcmp() for string comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René
S
cha
r
fe
daem
o
n: use callback to build interpolated pa
t
h
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharf
e
daem
o
n
:
look up
c
l
ient-supp
l
ied
h
ost
n
ame lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scha
r
fe
ref
s
: plug st
r
buf leak in l
o
c
k
_ref_sha1_
b
asic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
transport: si
m
plify du
p
licati
n
g
a su
b
stri
n
g in
t
ransport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René S
c
harfe
me
r
ge: releas
e
st
r
buf after u
s
e in sug
g
est_conflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
comm
i
t-
t
ree:
sim
p
lify parsing of opt
i
on -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
n
ewline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
e
né Scharf
e
use
lab
s
() for va
r
iab
l
e
s
o
f
t
ype l
o
ng ins
t
ead of
a
bs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
ené Scharfe
use labs() for variables of type long inste
a
d of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Scharf
e
run-c
o
mmand: use void
t
o declare t
h
at f
u
nct
i
ons t
a
ke
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Scharfe
use args member of str
u
ct
c
hild_
p
r
oce
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Schar
f
e
trailer: use CHILD_PROC
E
S
S
_
IN
I
T in apply_
c
o
mmand(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené Scharfe
api-run-command: add mis
s
ing list
ite
m
mark
e
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use
c
hild_process_ini
t
()
t
o i
n
itializ
e
struct
child_pro
c
ess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Sch
a
r
f
e
rece
i
ve-pack: avoi
d
m
inor leak in c
a
se start
_
asy
n
c
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharf
e
grep
:
add colo
r
.
grep
.
m
a
tchc
o
ntext and
c
o
lor
.
grep
.
match
s
electe
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René S
c
harfe
use env_a
r
ray member of
s
truc
t
c
h
ild_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
e
né Schar
f
e
r
un-
c
ommand: add env_
a
rray, an
optional argv_a
r
r
a
y
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
Re
n
é Scharfe
r
e
c
eive-pac
k
:
plug minor
m
e
mory lea
k
i
n
unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René
S
charfe
use skip_prefix() to avoid more mag
i
c numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
mails
p
lit: r
e
m
ove
unnecessar
y
unlink(2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bun
d
le: plug
minor mem
o
ry lea
k
in
is_tag_in_date_range()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Sc
h
a
r
fe
daemon:
r
emove write-onl
y
v
a
riable ma
x
fd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
Scharfe
daemo
n
:
f
ix error
m
ess
a
ge after bin
d
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
S
c
h
a
rfe
d
aemon: h
a
ndle gethostby
n
ame() error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
sha1-lookup: handl
e
du
p
licates in sha1_
p
o
s
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sh
a
1-array: add test-sh
a
1-array and
basic te
s
ts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é Scharfe
t
0
090: a
v
oi
d
p
assing em
p
ty string to
pr
i
ntf %
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
Ren
é
Scharfe
r
emote: simplify
match_name_
w
ith_
p
attern() usi
n
g
s
trb
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René
Sc
h
arfe
graph: simplify
g
r
aph_padd
i
ng
_
line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é Sc
h
a
r
fe
use R
E
AL
L
OC_ARRAY
f
o
r c
h
anging the al
l
o
cation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René
S
char
f
e
add macro R
E
ALLOC_ARR
A
Y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repack:
c
al
l
prune_packed_o
b
jects() and upda
t
e_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharf
e
strbuf: use strbuf_
a
ddchars
(
)
f
or
adding a char multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbuf: export str
b
uf_addchars
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
trace: c
o
rrect tra
c
e_strbuf() parame
t
er ty
p
e
for !HAV
E
_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
arfe
imap-send: simplify v_
i
ssue_im
a
p
_
cm
d
(
) and get_cmd
_
result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
merge-tr
e
e: remov
e
un
u
s
e
d df_conf
l
ict argum
e
nts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
arfe
http-wa
l
ke
r
: simpl
i
fy process_
a
lternates_resp
o
n
s
e
(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Scharfe
con
f
ig: s
i
mp
l
ify git_
c
onf
i
g_
i
nclude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rfe
pack
-
write:
simp
l
ify in
d
e
x
_
pa
c
k_loc
k
fil
e
using skip_prefix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
onnect
:
s
i
m
p
lify
check
_
ref(
)
using skip_prefix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
se strbuf_
a
dd_a
b
solute_path() to add absolute pat
h
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
b
spa
t
h: convert absolute_path() to strbu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Sc
h
a
r
fe
use
xgetcwd() to se
t
$GIT
_
DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené
Sc
h
arfe
use xgetc
w
d(
)
to get the curren
t
directory or
d
i
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
wrapper:
a
d
d
xgetcwd
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
a
b
spath: con
v
e
r
t
r
eal_path_internal() to str
b
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
ab
s
path:
u
se strbuf_getcwd() to r
e
member or
i
gi
n
al working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené
S
charfe
se
t
u
p
: co
n
ve
r
t s
e
t
up_git
_
dir
e
ctory_
g
en
t
ly_1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walke
r
: avoid quadratic
l
i
st insertion in mark
_
comple
t
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
sha1_name
:
avoid q
u
a
d
ratic list
i
nse
r
ti
o
n in
h
a
ndle_on
e
_
r
e
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Re
n
é Scharfe
run-command: inline prepare_run
_
command_v_o
p
t()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
en
é
Scharfe
run-com
m
and: ca
l
l ru
n
_c
o
mmand_v_opt
_
cd_en
v
(
)
instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
u
n
-
command: introduce chil
d
_process_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Ren
é
Sch
a
rfe
run-command: introduce CHILD_PROCESS_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharf
e
tur
n
p
ath macro
s
into
i
nl
i
n
e function
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scha
r
fe
c
l
ean: u
s
e f(voi
d
) inste
a
d of
f() to
de
c
la
r
e
a
poi
n
ter
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
R
ené Scharfe
read-cache:
c
heck for leading
s
ymlinks
when r
e
f
res
h
in
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
Re
n
é Scharfe
i
n
it: avoid
s
u
p
erfl
u
ous real_path()
calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
un
i
x
-
sockets: use strbu
f
_
g
e
t
cwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Sc
h
arfe
s
t
rb
u
f: add strbuf_g
e
tcw
d
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use x
m
emdupz() t
o
a
llo
c
ate c
o
pies of strings gi
v
en
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
S
charfe
us
e
xcalloc()
t
o
a
llocat
e
z
ero-initializ
e
d memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
S
char
f
e
unix-socket:
remove
s
tale
so
c
ket be
f
ore call
i
ng ch
d
i
r()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René
Scharfe
remote-testsvn:
u
se
i
nternal argv_array of
struct c
h
ild_proc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Sch
a
rfe
bun
d
l
e
: use
i
nternal a
r
gv_array
of struct chil
d
_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
Re
n
é
S
charfe
fas
t
-i
m
po
r
t:
u
s
e
h
a
shcmp() for SHA1
h
ash comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
Re
n
é S
c
harfe
transpor
t
: simplify fetch_objs_via_rs
y
nc() using
a
rgv_arr
a
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René
S
c
h
arfe
run-c
o
mmand:
use
i
nte
r
nal
a
rgv_array of struct chi
l
d_
p
r
ocess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
use c
o
mmit_list
_
cou
n
t()
to co
u
nt the
m
embers of commit_
l
i
sts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René
S
charfe
s
trbu
f
: use strbuf
_
addstr() for ad
d
i
n
g C str
i
ngs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-16
René S
c
harfe
annotate: u
s
e argv_array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
fsck: s
i
mpl
i
fy fs
c
k_comm
i
t_buffer(
)
b
y
using commit_l
i
st_count()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René
S
c
harfe
commit:
use com
m
it_list_ap
p
en
d
() instead of duplicat
i
ng
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
e
né Sc
h
arfe
m
e
rg
e
: si
m
pli
f
y
m
erge_trivial() by using commit_list_append()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scha
r
f
e
u
se strbuf_addch for adding single char
a
ct
e
rs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Schar
f
e
use st
r
bu
f
_
a
ddbuf for addin
g
s
trbufs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
Re
n
é S
c
harfe
line-log: us
e
commit_lis
t
_
appe
n
d() inste
a
d of duplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
René Scharfe
d
iff-tree: call
fr
e
e_commit_l
i
st()
instea
d
of du
p
licating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-07
R
e
né Sc
h
arfe
t5000, t5003: simplify comm
i
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
sha1_file
:
a
v
oid
o
v
e
rrunning alternate object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
sha1_file: replace PATH_MAX
buffer with strbuf in prepa
r
e_pa
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
René Scha
r
fe
wt-st
a
tus: simplify building o
f
s
u
m
mary
l
i
m
i
t
a
r
gumen
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
R
ené
S
c
harfe
wt-status: use arg
v
_array for
e
n
vironment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next