repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
perf-lib: fix ignored exit code inside loop
2015-03-05
René Schar
f
e
zlib: initialize
git_zstream in g
i
t
_
d
e
fla
t
e_init{,_gzip
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
a
r
chi
v
e-z
i
p
:
m
a
rk text fi
l
e
s in
archives
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharf
e
s
ha1_name: use strlcp
y
() to cop
y
strings
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
prett
y
:
use start
s
_with(
)
to che
c
k fo
r
a prefix
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Scharfe
for-each
-
ref: use s
k
ip_prefi
x
()
t
o
a
v
oid duplicate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
c
onnect
:
use strcmp() f
o
r st
r
i
n
g
comparison
commit
|
commitdiff
|
tree
2015-02-17
René Scha
r
fe
daemon: use callbac
k
to build i
n
terpolated
p
ath
commit
|
commitdiff
|
tree
2015-02-17
René Scha
r
fe
da
e
mon: look up cli
e
nt-supplied
hostname l
a
zily
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
r
e
fs: plug s
t
rbuf leak in lock_ref_
s
ha1_
b
asic()
commit
|
commitdiff
|
tree
2014-12-29
René Sc
h
arfe
transport: simp
l
ify du
p
licating
a substring
i
n tr
a
n
sport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Scharfe
merge: release str
b
u
f
a
f
ter us
e
in suggest_conflic
t
s
(
)
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
f
e
commit-tree
:
simpli
f
y pa
r
sing of option -S using skip_prefix(
)
commit
|
commitdiff
|
tree
2014-12-12
René Scha
r
f
e
us
e
s
t
rbuf_comple
t
e_line() for add
i
n
g a n
e
wli
n
e if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use labs() for variab
l
es of
t
y
p
e
long i
n
stead
of abs()
commit
|
commitdiff
|
tree
2014-11-17
René Schar
f
e
us
e
labs(
)
for v
a
ri
a
bles of
t
yp
e
lon
g
inst
e
ad of abs(
)
commit
|
commitdiff
|
tree
2014-11-10
René Sc
h
arfe
run-command: use v
o
id
t
o declare that funct
i
ons take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
R
ené
S
charf
e
use
args member of struct chi
l
d_process
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer:
u
s
e
CHI
L
D
_
PROCESS_INIT in app
l
y_command()
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-run-
c
o
m
mand: add missing list
item ma
r
ker
commit
|
commitdiff
|
tree
2014-10-28
René
S
charfe
us
e
child_pr
o
cess_init() to i
n
itia
l
ize struct c
h
il
d
_proc
e
s
s
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
re
c
eive-p
a
ck:
avoid minor
leak in ca
s
e start_async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
gre
p
: add
co
l
or
.
g
r
e
p
.
m
atchcontext and c
o
lor
.
gr
e
p
.
matchselected
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scharfe
use env
_
ar
r
ay member of st
r
uct
c
hild_proce
s
s
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-c
o
mmand: add env_array, an optional argv_array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
receive-pack: plug minor memo
r
y
l
e
ak in unpack()
commit
|
commitdiff
|
tree
2014-10-07
René S
c
harfe
u
se
skip_p
r
efix() to avo
i
d more magic numbers
commit
|
commitdiff
|
tree
2014-10-07
R
e
né Scharfe
m
a
i
l
split: remove unnecessary unlink(2) ca
l
l
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundle: plug minor mem
o
ry leak in is
_
t
a
g_in_date_range(
)
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
Sc
h
arfe
daemon: remove write-only variable maxf
d
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é Scharfe
daemon:
fix
e
rr
o
r
m
essage afte
r
bind
(
)
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Scharfe
daemon: handle gethostbyname() er
r
or
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
s
h
a1-lookup: hand
l
e
d
u
plicates in sha
1
_
pos()
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
Scharfe
sha1
-
array: add test-sha1-array a
n
d ba
s
ic tes
t
s
commit
|
commitdiff
|
tree
2014-09-30
René Scharfe
t0090: avo
i
d passing em
p
ty str
i
ng to print
f
%d
commit
|
commitdiff
|
tree
2014-09-22
René Sch
a
r
f
e
r
emote: s
i
mplif
y
m
a
tch_n
a
me
_
with_pattern() using
strbuf
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
g
r
ap
h
: sim
p
lify g
r
aph_padding
_
l
ine()
commit
|
commitdiff
|
tree
2014-09-18
René Scha
r
fe
use REALLOC_AR
R
A
Y for changing the allocatio
n
size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
ad
d
macro REALLOC_ARRA
Y
commit
|
commitdiff
|
tree
2014-09-15
Re
n
é Schar
f
e
repac
k
:
c
all
prun
e
_packed_objec
t
s() and update_server_
i
nfo
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf: use str
b
u
f_addchars
(
) for adding a char mul
t
i
p
l
e
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
Scharfe
strbuf: expo
r
t strbuf_a
d
dchars()
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
trace: correct trace_strbuf() parame
t
er typ
e
for
!HAVE_V
A
R
I
A
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
ar
f
e
im
a
p-send:
s
i
mplify v_i
s
s
u
e
_imap_cmd() a
n
d get
_
cmd
_
result
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
merge-
t
r
e
e: remo
v
e
u
nused df_con
f
lict arg
u
ments
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
http-walke
r
: simp
l
ify pr
o
cess_alte
r
nates
_
response
(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
co
n
fi
g
: simplif
y
git_
c
onfi
g
_include()
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scharfe
pack-wr
i
te: simplify ind
e
x_pack_loc
k
fil
e
u
sing sk
i
p_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Scharfe
con
n
e
c
t
: simplify check_re
f
() using skip_prefix() and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
use strbuf_add_absolu
t
e_p
a
th() to add ab
s
olute paths
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspa
t
h:
co
n
vert
a
bso
l
ute_path() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
s
e xgetcwd() to set $
G
IT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
use xgetcwd
(
) to get the cur
r
ent
directo
r
y or die
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
wrapper: add xgetcwd()
commit
|
commitdiff
|
tree
2014-08-26
R
e
né S
c
harfe
abspath: conve
r
t real
_
path
_
internal() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René
S
charfe
abspath: u
s
e strbuf_getc
w
d() to remembe
r
o
riginal working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Scharfe
set
u
p: convert setup_git_direc
t
ory_gently_
1
et al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
R
ené Sc
h
arfe
wa
l
ker: avoi
d
quadr
a
tic list
insertion in mark_complete
commit
|
commitdiff
|
tree
2014-08-25
René
Scharfe
s
h
a1_name: a
v
oid quadratic li
s
t
i
n
s
ertion in han
d
le_one_re
f
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
un-command: inlin
e
prepare_run_command_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
un-c
o
m
m
and: call
run_co
m
man
d
_
v
_opt_cd_env() i
n
stead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René S
c
harfe
r
un-com
m
and:
introd
u
ce chil
d
_process_
i
nit(
)
commit
|
commitdiff
|
tree
2014-08-20
R
e
né
S
charfe
run-c
o
mman
d
: i
n
troduce CHILD_PROCESS_IN
I
T
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path macros into inli
n
e f
u
nction
commit
|
commitdiff
|
tree
2014-08-18
René Scharf
e
cle
a
n: use f(void) ins
t
e
ad o
f
f() to declare
a
pointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
R
e
né
Scharfe
read-cache
:
check for le
a
ding symlinks w
h
en refreshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Scharfe
init: avoid
s
uperfl
u
ous real_path() call
s
commit
|
commitdiff
|
tree
2014-07-28
R
e
né Scharfe
unix-soc
k
ets: use strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-28
René Schar
f
e
str
b
uf:
add
s
t
rbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use xmem
d
upz() to alloc
a
t
e
copies
o
f stri
n
gs g
i
ven
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René S
c
harfe
use xcalloc() to allocate zero-initialize
d
memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
unix-socket: remove stale sock
e
t before call
i
ng chdir()
commit
|
commitdiff
|
tree
2014-07-18
René Scharf
e
remote-
t
es
t
svn
:
use i
n
t
ernal argv_
a
r
ray of
stru
c
t child_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René
Scharfe
b
u
ndle: u
s
e
i
n
ternal argv_ar
r
ay of struct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
fast-impo
r
t: use hashcmp
(
) for SHA1 hash
c
om
p
arison
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
transport: sim
p
l
ify
fetch
_
objs
_
via_rsync() using argv_array
commit
|
commitdiff
|
tree
2014-07-17
René Sch
a
rfe
run-comma
n
d: use inte
r
nal argv_arra
y
of struct child_
p
rocess
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
u
se commit_list_
c
ount() to count the me
m
bers
o
f
c
ommit_lis
t
s
commit
|
commitdiff
|
tree
2014-07-17
René Scha
r
fe
st
r
buf: use s
t
rbuf_addstr() for ad
d
ing
C stri
n
g
s
commit
|
commitdiff
|
tree
2014-07-16
René Scha
r
f
e
annotate: use argv_
a
rray
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
fsc
k
: si
m
plify fsc
k
_co
m
mit_
b
uffe
r
() b
y
using com
m
it_l
i
st_c
o
unt()
commit
|
commitdiff
|
tree
2014-07-10
René
Scharfe
commit: use commit_li
s
t_appen
d
() ins
t
e
a
d of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René Schar
f
e
merge
:
simpl
i
fy m
e
rge
_
t
r
ivial()
by usi
n
g
commit_list_appen
d
(
)
commit
|
commitdiff
|
tree
2014-07-10
René Scha
r
f
e
us
e
st
r
b
u
f_add
c
h for
a
dding si
n
gle ch
a
ract
e
rs
commit
|
commitdiff
|
tree
2014-07-10
René
S
charfe
use strbuf_
a
ddbuf for adding strbufs
commit
|
commitdiff
|
tree
2014-07-08
R
ené Schar
f
e
line-log:
use c
o
mmit_list_ap
p
e
n
d(
)
inste
a
d of
dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
R
ené S
c
h
a
rfe
diff-tree: ca
l
l
f
ree_c
o
m
m
it
_
list() inste
a
d of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
Re
n
é
S
charf
e
t
5
000
,
t5003: simplify commit
commit
|
commitdiff
|
tree
2014-07-01
René Sch
a
rfe
sha1_f
i
le
:
avoid over
r
un
n
ing alte
r
nate object
ba
s
e
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
R
e
n
é Scharfe
s
h
a1_fi
l
e
:
r
epl
a
ce P
A
TH_MAX buffer with s
t
rbuf in pre
p
ar
e
_pa
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
wt-status: si
m
plify bu
i
ldin
g
of su
m
mary limi
t
argument
commit
|
commitdiff
|
tree
2014-06-30
R
ené Schar
f
e
wt-status: use argv_ar
r
ay for environm
e
nt
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame: simplify prepare_
l
ines()
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame: factor out get_next_line()
commit
|
commitdiff
|
tree
2014-06-09
R
ené Scharfe
Use sta
r
ts_with() for C strings i
n
stead
of m
e
mcmp()
commit
|
commitdiff
|
tree
2014-06-02
René Sch
a
rf
e
p
a
c
k
-objects:
u
s
e
free()+xcalloc()
i
nste
a
d o
f
xrea
l
l
o
c
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René S
c
harfe
m
ailinfo: u
s
e st
r
cmp() for st
r
ing comparison
commit
|
commitdiff
|
tree
2014-04-01
R
e
né Scharfe
r
e
v-parse:
fix typo in ex
a
mple on manpa
g
e
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pickaxe: sim
p
lify kwset loo
p
in co
n
tains()
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pickaxe:
call strlen only when nec
e
s
s
a
r
y in diffco
r
e_p
i
ckaxe
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René S
c
harf
e
pi
c
kax
e
: mo
v
e
p
icka
x
e() after pickaxe_match()
commit
|
commitdiff
|
tree
next