repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'jk/fetch-pack' into maint
2015-03-10
René
S
c
harfe
u
s
e
i
s
x
digit()
f
or checking if a char
a
cte
r
is a hex
a
dec
i
mal
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
René Scha
r
fe
zlib: i
n
i
t
ialize g
i
t_zstream in git_deflate
_
i
n
it{,_gzip
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
R
e
né
S
charfe
sha1_name: u
s
e
s
trlcpy() to copy string
s
commit
|
commitdiff
|
tree
2015-02-22
René
S
char
f
e
prett
y
: use start
s
_with() to chec
k
f
o
r a prefix
commit
|
commitdiff
|
tree
2015-02-22
R
e
né
Scharfe
for-each-ref
:
u
s
e ski
p
_p
r
efix()
to avoid dup
l
icate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Scharfe
connect:
u
s
e strcmp() for
s
tring co
m
parison
commit
|
commitdiff
|
tree
2015-02-17
R
ené S
c
har
f
e
daemon:
use
c
allback
t
o
build
i
nterpolated path
commit
|
commitdiff
|
tree
2015-02-17
René S
c
harfe
daemon: look
u
p clie
n
t-s
u
ppli
e
d
h
ostname
lazily
commit
|
commitdiff
|
tree
2014-12-29
Re
n
é
S
c
harf
e
re
f
s: plug st
r
buf leak in lock_ref_sha1_basic()
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
transport: simplify d
u
p
l
icating
a substr
i
ng in t
r
ansport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
R
ené
S
ch
a
rfe
merge
:
relea
s
e strbuf
a
fter use
in sug
g
est_
c
o
nflict
s
()
commit
|
commitdiff
|
tree
2014-12-29
René
Scharf
e
comm
i
t-tr
e
e: simplify parsing
o
f
option -S using skip_prefix()
commit
|
commitdiff
|
tree
2014-12-12
René Scharf
e
u
se strbuf_complete_l
i
ne() for adding
a
ne
w
line
i
f
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use labs() for variables of type long instead o
f
abs()
commit
|
commitdiff
|
tree
2014-11-17
René Sc
h
arfe
use labs(
)
fo
r
vari
a
b
l
es of type l
o
ng instea
d
of abs(
)
commit
|
commitdiff
|
tree
2014-11-10
R
e
n
é
Scha
r
fe
r
un-comman
d
: use void to
decl
a
re
t
hat
functions take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use ar
g
s member of
s
t
r
u
ct child_process
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Scharfe
trailer
:
use CHILD_PROCE
S
S_I
N
IT in ap
p
ly_comman
d
()
commit
|
commitdiff
|
tree
2014-10-28
R
ené Schar
f
e
api-
r
un-command: add
missi
n
g
l
ist it
e
m marker
commit
|
commitdiff
|
tree
2014-10-28
R
e
n
é
Scha
r
fe
use child_pro
c
e
s
s
_
init() to initial
i
ze struct
child_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René
Sc
h
arfe
re
c
eive-pac
k
: avoid m
i
n
or leak in case
st
a
rt_async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: add co
l
or
.
grep
.
matchcontext and c
o
lor
.
grep
.
matchselected
commit
|
commitdiff
|
tree
2014-10-19
R
ené Sc
h
a
rfe
use
e
n
v
_
a
rray
member of st
r
uct
c
hild_proces
s
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-command: add env_array, an
optio
n
al argv_ar
r
a
y
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
René Scha
r
fe
receive-p
a
ck: p
l
ug
m
inor
mem
o
ry l
e
ak i
n
unpack()
commit
|
commitdiff
|
tree
2014-10-07
R
e
né
S
charfe
use skip_
p
refix() to
av
o
i
d
more magic numbers
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
m
a
ilsplit: rem
o
v
e unn
e
c
e
s
s
ary unlink(2) call
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundle: plug minor memo
r
y
l
e
ak in is_tag
_
in_date_r
a
nge()
commit
|
commitdiff
|
tree
2014-10-01
R
ené
Scharfe
d
a
emon
:
remove write
-
onl
y
v
ariable
m
axfd
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
d
aemon: fix error message
a
f
ter bi
n
d()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon:
h
a
n
dle
g
ethos
t
b
y
n
ame() e
r
ro
r
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-lookup:
handle
duplic
a
t
e
s in sh
a
1_pos
(
)
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é
Sch
a
r
f
e
sha1-array: ad
d
test-sha1-array
a
nd basic
tes
t
s
commit
|
commitdiff
|
tree
2014-09-30
René Scharf
e
t
0090: a
v
oid pas
s
ing empt
y
stri
n
g t
o
pr
i
ntf %d
commit
|
commitdiff
|
tree
2014-09-22
René
Sc
h
a
r
fe
remote
:
simplify match_n
a
me_
w
ith_pa
t
t
e
rn() u
s
ing
s
tr
b
uf
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
gr
a
p
h
: simplify grap
h
_pa
d
ding_lin
e
()
commit
|
commitdiff
|
tree
2014-09-18
René Sch
a
r
f
e
use REALLOC_AR
R
AY for cha
n
gi
n
g the
a
ll
o
cation size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René Scha
r
fe
add macro REALLOC_A
R
RAY
commit
|
commitdiff
|
tree
2014-09-15
Re
n
é Scharfe
rep
a
ck: call pr
u
ne_packed_ob
j
ects() and u
p
date_server_info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René S
c
har
f
e
strbuf: use
st
r
buf_addchars() for
adding a c
h
ar mult
i
ple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbu
f
:
export strbu
f
_addchars()
commit
|
commitdiff
|
tree
2014-09-08
René Scha
r
fe
t
r
ace
:
correct trace_strbuf() p
a
rameter
type for !HAVE_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René
Scharfe
im
a
p-
s
en
d
: simpli
f
y v_issue_imap_cmd() and
get_cm
d
_r
e
sult
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
merge-tr
e
e
:
remove unused df_conflict argumen
t
s
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rf
e
http-walk
e
r:
sim
p
l
ify
process_alternates_
r
esponse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
ar
f
e
config: simplify g
i
t_co
n
fig_include()
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Scharfe
pack-
w
rite: s
i
mplify index_pack_lockfile usin
g
sk
i
p_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
connect: simpli
f
y c
h
e
c
k
_re
f
()
using
s
kip
_
prefix() and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
S
charfe
use strb
u
f_add_
a
b
solute_pat
h
()
t
o add
a
b
s
olute paths
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
abs
p
ath:
c
onv
e
rt absolute_
p
ath()
to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René
S
cha
r
fe
use xget
c
wd() to set $G
I
T_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
s
e xgetcwd(
)
to get the curr
e
nt
directory o
r
d
ie
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
wrapper: a
d
d xgetcwd()
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
bspath
:
co
n
v
e
rt
r
eal_pa
t
h_interna
l
() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
abspath: use strbuf_
g
etcwd
(
) to re
m
ember
o
riginal working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é Scharfe
se
t
up
:
con
v
ert s
e
t
u
p_git_
d
irectory_gently_
1
et al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
René
Schar
f
e
walker:
a
void quadratic li
s
t i
n
sertion in mark_complete
commit
|
commitdiff
|
tree
2014-08-25
R
e
né Scharfe
sha1_
n
ame
:
a
v
oid quadratic li
s
t inser
t
ion in
h
andle_one_ref
commit
|
commitdiff
|
tree
2014-08-20
René Sc
h
arfe
run-co
m
ma
n
d: inline prep
a
re_run
_
command_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command: cal
l
run_command_v_o
p
t_cd_env() instea
d
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scha
r
f
e
r
un-comm
a
n
d: in
t
ro
d
u
ce child_pro
c
e
s
s_init()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run
-
c
o
mm
a
nd: in
t
roduce CHILD_PRO
C
E
SS_I
N
IT
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path ma
c
ros
i
nto inline function
commit
|
commitdiff
|
tree
2014-08-18
René Schar
f
e
c
le
a
n
:
use f
(
void) i
n
stead of f() to
decl
a
re a
p
o
inter
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
René Sch
a
rfe
read-
c
ache: ch
e
ck for lead
i
ng sym
l
i
nks when r
e
f
res
h
i
ng
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
init: avo
i
d super
f
lu
o
us real_p
a
th() calls
commit
|
commitdiff
|
tree
2014-07-28
René S
c
harfe
un
i
x
-socket
s
:
u
se strbuf_get
c
wd()
commit
|
commitdiff
|
tree
2014-07-28
Re
n
é
Scharf
e
strbu
f
: add
s
t
r
b
u
f
_
getc
w
d()
commit
|
commitdiff
|
tree
2014-07-21
René Scharf
e
use xmemdupz() to allocate
copies
o
f strin
g
s given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René S
c
harfe
use
x
c
a
llo
c
() to allocate zero
-
i
nit
i
a
l
ized me
m
ory
commit
|
commitdiff
|
tree
2014-07-21
R
ené
S
charfe
unix
-
s
o
c
ket
:
remo
v
e stale soc
k
et before call
i
ng chdir
(
)
commit
|
commitdiff
|
tree
2014-07-18
René S
c
harf
e
re
m
ote-t
e
stsvn: use internal argv_ar
r
ay of
s
t
ruct c
h
il
d
_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René S
c
h
a
rfe
bundle: u
s
e int
e
rnal argv
_
a
r
ray of struct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scha
r
fe
fast-
i
mport: use hashc
m
p
(
)
for
S
HA1 hash comparison
commit
|
commitdiff
|
tree
2014-07-18
René
S
c
h
a
rfe
transp
o
r
t
: si
m
plify fetch_objs_via_rsync()
u
sing ar
g
v_
a
rray
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
run-command: use in
t
ernal argv_array of
s
truct child_pro
c
ess
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René S
c
harfe
use commit_list_
c
ount() to
c
ount the member
s
of commit_lists
commit
|
commitdiff
|
tree
2014-07-17
René
S
charfe
strbuf: us
e
strbuf_ad
d
st
r
() fo
r
addi
n
g
C str
i
ngs
commit
|
commitdiff
|
tree
2014-07-16
R
e
né Scharfe
an
n
otate: use argv_array
commit
|
commitdiff
|
tree
2014-07-10
R
e
né
S
charfe
f
sck
:
simplify fsck_commit_buffer() by using commit_list
_
c
o
u
nt()
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
commi
t
: use commit_list_append() inste
a
d of
d
u
p
licating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
merge: simplify merge_
t
rivial(
)
by u
s
ing co
m
mit_list_ap
p
end()
commit
|
commitdiff
|
tree
2014-07-10
René S
c
h
arf
e
use strbuf_addch for adding
s
ingle cha
r
ac
t
er
s
commit
|
commitdiff
|
tree
2014-07-10
René
Scha
r
f
e
u
se strbuf_addbuf
f
or
a
dding strbufs
commit
|
commitdiff
|
tree
2014-07-08
René
S
c
ha
r
fe
lin
e
-log: use commit_list_append
(
) instead of
d
upl
i
cating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
René S
c
harfe
d
iff-tr
e
e:
c
a
ll free_commit_list() inst
e
ad o
f
duplicati
n
g
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Scharfe
t5000, t50
0
3: simp
l
ify commit
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
s
h
a1_fi
l
e: av
o
id ov
e
r
r
u
nni
n
g alt
e
rnate o
b
ject
b
ase
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scha
r
f
e
s
ha1_fi
l
e: repla
c
e
P
A
T
H_MA
X
b
uffer
with s
t
rb
u
f
in pr
e
par
e
_
p
a
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
Re
n
é Scha
r
fe
w
t
-
s
t
at
u
s: simp
l
ify b
u
ilding of su
m
mary lim
i
t
a
r
gument
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
wt-status: use argv_ar
r
ay f
o
r environm
e
nt
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
bla
m
e: simp
l
ify p
r
ep
a
re_li
n
es()
commit
|
commitdiff
|
tree
2014-06-13
Re
n
é
S
charfe
blame: facto
r
o
u
t get_n
e
xt_line()
commit
|
commitdiff
|
tree
2014-06-09
René Scharfe
U
s
e
starts_wit
h
()
for
C
strings instead o
f
memcmp()
commit
|
commitdiff
|
tree
2014-06-02
René Scharfe
pack-ob
j
ects:
u
se free()+x
c
al
l
oc
(
) i
n
ste
a
d of xreallo
c
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René Scharf
e
m
a
i
linfo: use strcmp() for string
compar
i
so
n
commit
|
commitdiff
|
tree
2014-04-01
René S
c
harfe
rev-
p
arse:
f
ix
typo in example on m
a
npage
commit
|
commitdiff
|
tree
2014-03-24
René
S
c
h
arfe
p
i
c
k
a
x
e: simplify k
w
s
e
t loop in contains()
commit
|
commitdiff
|
tree
2014-03-24
René Scharf
e
p
i
c
kaxe: call strlen
only
w
he
n
necessary
in diffcore_pickaxe
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
p
i
ckaxe:
m
o
v
e
pickaxe()
a
ft
e
r
p
ickaxe_match()
commit
|
commitdiff
|
tree
next