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
Merge branch 'km/imap-send-libcurl-options' into maint
2015-02-22
René Scharf
e
sha
1
_n
a
me
:
u
se strlcpy
(
) to
c
opy s
t
r
in
g
s
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
prett
y
:
use starts_with
(
) to check
for
a
prefix
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
for-each-ref: use ski
p
_prefix() to av
o
id duplica
t
e
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scha
r
fe
c
o
nnec
t
: use
s
trcmp() for string compari
s
o
n
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon:
u
se cal
l
back
to build
i
nterpol
a
t
e
d p
a
th
commit
|
commitdiff
|
tree
2015-02-17
R
e
n
é Schar
f
e
daemon: look up client-suppl
i
ed hostnam
e
lazily
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
refs: plug st
r
buf lea
k
in lock
_
re
f
_sha1_basic()
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
tr
a
nspor
t
: simplify duplicating a substri
n
g
i
n
t
r
ansport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
René Sch
a
rfe
merge: re
l
eas
e
strbuf after use in sugge
s
t_confl
i
c
ts
(
)
commit
|
commitdiff
|
tree
2014-12-29
René
Sch
a
rfe
c
o
mmi
t
-t
r
ee
:
simplify
p
a
r
sing of optio
n
-S usi
n
g skip_prefix()
commit
|
commitdiff
|
tree
2014-12-12
Ren
é
Scharfe
use st
r
b
u
f_c
o
mp
l
ete_
l
i
n
e() for adding a newline if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René Schar
f
e
use labs() for variable
s
of type lo
n
g ins
t
ead o
f
abs(
)
commit
|
commitdiff
|
tree
2014-11-17
René Scharf
e
us
e
labs()
f
or varia
b
les of
type long
inst
e
ad of abs()
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Scharfe
run-command
:
use void to
declare that f
u
nctions take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René S
c
harfe
use args m
e
mber of struct
ch
i
l
d
_
p
rocess
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer:
u
s
e CHILD_PROC
E
SS
_
IN
I
T in ap
p
ly_command()
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-r
u
n-
c
ommand
:
add
m
issing l
i
st item
m
arker
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use ch
i
l
d
_
proce
s
s_init() to initia
l
ize struct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René
Schar
f
e
receive-pack: a
v
o
id m
i
n
o
r leak in case start_async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
R
e
n
é
S
charfe
g
r
ep:
a
d
d color
.
grep
.
m
a
t
chcontext and
c
olor
.
g
r
ep
.
matchselected
commit
|
commitdiff
|
tree
2014-10-19
R
e
n
é
Scharfe
use env_array member of
s
truct child_process
commit
|
commitdiff
|
tree
2014-10-19
René
Schar
f
e
r
un-
c
ommand:
add
e
nv_array
,
a
n
optional
argv
_
array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
R
e
né Scharfe
receive
-
pack: plug minor memory
l
eak
i
n unpa
c
k
()
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use
s
kip_p
r
efix()
t
o avoid mo
r
e magic numbers
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
mailsplit: remove unnece
s
s
a
ry unl
i
nk(2) call
commit
|
commitdiff
|
tree
2014-10-07
R
en
é
Scharfe
bundle: plug m
i
nor
m
emory leak
in i
s
_tag_in_d
a
te
_
range()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon:
r
emo
v
e
w
rite-only v
a
riab
l
e
m
axfd
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemo
n
:
fix error
message after bind()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemo
n
: hand
l
e get
h
ostbyn
a
me() er
r
or
commit
|
commitdiff
|
tree
2014-10-01
René S
c
harfe
sha1-lookup: ha
n
d
le
du
p
licates in sha1
_
pos()
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
sha1-arra
y
:
add test-
s
ha1-arr
a
y a
n
d basic tests
commit
|
commitdiff
|
tree
2014-09-30
René Sc
h
a
r
fe
t0090: avoid passing empty st
r
ing to print
f
%d
commit
|
commitdiff
|
tree
2014-09-22
Re
n
é Scharfe
r
e
mot
e
: simpl
i
fy match_name_with_pa
t
tern(
)
using str
b
uf
commit
|
commitdiff
|
tree
2014-09-22
R
ené
S
c
harfe
gra
p
h: simplify
g
raph_padding
_
line()
commit
|
commitdiff
|
tree
2014-09-18
René
Scharfe
use RE
A
LLOC_ARRA
Y
f
or chang
i
n
g
the allocation
size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René Scharf
e
add macro REALLOC_ARRAY
commit
|
commitdiff
|
tree
2014-09-15
R
en
é
Scharfe
re
p
ack: c
a
ll pr
u
ne_
p
acked_objects() and update_se
r
ver_
i
nfo
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbuf
:
use strbuf_addchar
s
()
f
o
r adding a char multi
p
le
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
st
r
buf
:
export str
b
uf_ad
d
char
s
()
commit
|
commitdiff
|
tree
2014-09-08
R
e
né Scharfe
trace:
correct trace_strbuf() pa
r
ameter type for !HAV
E
_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
imap-send:
s
implify v_issue_imap_cmd(
)
and get_cmd_resu
l
t
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
fe
merge-tre
e
: remove unused df_conflict ar
g
ument
s
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
htt
p
-w
a
lker: simplify
process_alt
e
rnates_response(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
fe
config: simplify gi
t
_config_include()
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Scha
r
fe
pack-write
:
simplify
i
ndex
_
pack_lockfile using skip_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Scharfe
connect: sim
p
lify check_r
e
f() using skip
_
prefix
(
) and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_a
d
d_absolute_path() t
o
ad
d
absolute paths
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
abspath: convert
a
bsolute_pat
h
()
to strbuf
commit
|
commitdiff
|
tree
2014-08-26
R
en
é
Scha
r
fe
u
s
e xgetcwd
(
) to set $GIT_DIR
commit
|
commitdiff
|
tree
2014-08-26
R
ené Scharfe
use xgetcw
d
(
) to get the curren
t
directory
o
r die
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
wrapper
:
a
d
d xgetc
w
d()
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
b
s
path: conv
e
rt real_pa
t
h
_internal() to st
r
buf
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Sc
h
arfe
abspath:
u
s
e
strbuf_
g
etcwd() to
r
ememb
e
r origi
n
a
l working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
setup:
c
onv
e
rt se
t
up_git_directory_gentl
y
_1
e
t a
l
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
René
Scharf
e
walker: avoid
q
uadratic list
insertion in
m
ark_complete
commit
|
commitdiff
|
tree
2014-08-25
René Sc
h
arfe
sha1_name: avoid
quadratic
l
ist ins
e
rtion in handle_one_re
f
commit
|
commitdiff
|
tree
2014-08-20
Ren
é
Sch
a
rfe
r
un-command
:
inline
p
repare_
r
un_command_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Sc
h
arfe
run-comman
d
: call run_command_v_op
t
_cd_env()
i
nstead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run
-
c
o
mman
d
: introduce
chil
d
_process_i
n
it()
commit
|
commitdiff
|
tree
2014-08-20
René
Scharfe
ru
n
-command:
i
ntrod
u
ce CHI
L
D
_
PROCESS_INIT
commit
|
commitdiff
|
tree
2014-08-18
René Schar
f
e
turn path macros into inline f
u
nction
commit
|
commitdiff
|
tree
2014-08-18
René
Scharfe
clea
n
: use f(void) i
n
s
t
e
a
d o
f
f
(
) to declare a pointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
Ren
é
Scharfe
read-cache: check fo
r
leading symlinks when r
e
freshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
René Scha
r
fe
init: avoid superfluous real_pa
t
h()
c
a
lls
commit
|
commitdiff
|
tree
2014-07-28
R
e
né Schar
f
e
unix-sockets: use strbuf_getcw
d
()
commit
|
commitdiff
|
tree
2014-07-28
René
Scharfe
strbuf: a
d
d strb
u
f_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use xmemdupz() to allocate copies of strings given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René Sc
h
arfe
use xcalloc() to
a
lloca
t
e zero-init
i
ali
z
ed memory
commit
|
commitdiff
|
tree
2014-07-21
R
e
né
S
charfe
un
i
x-socket:
remove stale socket before
c
a
l
ling c
h
dir(
)
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
a
r
f
e
r
emote-
t
estsv
n
: use
i
ntern
a
l
a
rgv_array of
s
truct child_pro
c
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
R
ené Scharfe
bundle: use
internal ar
g
v_array
o
f
s
t
ruct
c
hild_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
arfe
fast-import: us
e
hash
c
mp() for SHA1
h
a
s
h
com
p
a
r
iso
n
commit
|
commitdiff
|
tree
2014-07-18
René Sch
a
rfe
tr
a
nsport: simplify fetch_objs_via_rs
y
nc() using argv_arr
a
y
commit
|
commitdiff
|
tree
2014-07-17
René Schar
f
e
run-command: use internal a
r
gv_array of struct chi
l
d_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
use commit_l
i
st_count() to count the
members of commi
t
_lists
commit
|
commitdiff
|
tree
2014-07-17
René
Sch
a
rfe
strbu
f
: u
s
e strbuf_addstr() for add
i
n
g
C str
i
ngs
commit
|
commitdiff
|
tree
2014-07-16
René
S
charfe
annotate: use argv
_
arr
a
y
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
fsck:
simpli
f
y fsck_comm
i
t_bu
f
fer() by
using commit_list_count()
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
comm
i
t: use commit_list_append() ins
t
ead of dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René
Scharfe
me
r
ge: simplify merge_tr
i
vial() b
y
using commi
t
_
l
ist_append()
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Scharf
e
u
se strbuf
_
ad
d
ch for adding single charac
t
ers
commit
|
commitdiff
|
tree
2014-07-10
René S
c
harfe
u
se strbuf_addbuf for addin
g
strb
u
fs
commit
|
commitdiff
|
tree
2014-07-08
R
e
n
é
S
c
h
arfe
line-log
:
use commit_li
s
t_append() i
n
stead o
f
d
upli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
René
Scharfe
d
i
ff-tre
e
:
call free_commit_list() instead of d
u
plicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René
Scha
r
fe
t5000, t
5
003: simplify commit
commit
|
commitdiff
|
tree
2014-07-01
René Sch
a
r
fe
sha1_file
:
avoid overrunning a
l
ternate o
b
ject base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
sh
a
1_file:
r
e
place
P
A
T
H_MAX buffer with strbuf in p
r
ep
a
re_
p
a
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
w
t-status: s
i
mpl
i
fy building of summary limit ar
g
ument
commit
|
commitdiff
|
tree
2014-06-30
René
S
char
f
e
wt-sta
t
us:
u
se argv_array for environment
commit
|
commitdiff
|
tree
2014-06-13
R
ené Scharfe
bla
m
e: simplify prepare_lin
e
s()
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
b
l
ame:
factor out get_next_line()
commit
|
commitdiff
|
tree
2014-06-09
René Scharfe
Use sta
r
ts_with() for C str
i
n
g
s in
s
te
a
d of
m
e
mcmp()
commit
|
commitdiff
|
tree
2014-06-02
René Scharf
e
pa
c
k-objects: use free()+xcalloc() instead of xrealloc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
Re
n
é Scharfe
ma
i
linfo: use strcmp() for string comparison
commit
|
commitdiff
|
tree
2014-04-01
René Scharfe
rev-par
s
e:
f
ix typo in
e
xam
p
le on manpag
e
commit
|
commitdiff
|
tree
2014-03-24
René
Scharfe
pic
k
axe
:
simplif
y
kwset loop in contain
s
(
)
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pickaxe
:
call strlen
o
n
l
y when necessary
in diffcore_pickax
e
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
picka
x
e: move pickaxe() after pickaxe_
m
atch()
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
p
i
ckaxe:
m
erg
e
d
iffcor
e
_pickaxe_
g
rep()
and
diffcore_pickaxe_
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René
Scharfe
picka
x
e: honor -i when
used w
i
th -S and --pickaxe-rege
x
commit
|
commitdiff
|
tree
next