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
use file_exists() to check if a file exists in the worktree
2015-05-20
René Scharfe
use file_e
x
ist
s
() to check i
f
a file e
x
is
t
s in the
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Scharfe
use
i
sxdigit() for che
c
k
ing
i
f
a characte
r
is a hexade
c
imal
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
René Schar
f
e
daemon: degloba
l
ize hos
t
name i
n
form
a
tion
commit
|
commitdiff
|
tree
2015-03-10
René Sch
a
rfe
daemon:
use strbuf for host
n
ame info
commit
|
commitdiff
|
tree
2015-03-05
René
S
c
h
a
rfe
zli
b
: in
i
tialize git_zstream in git_def
l
a
te_
i
nit{,
_
gzip
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
Schar
f
e
arc
h
ive-zip: mark tex
t
files in archives
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
s
h
a1_name: use
s
trlcpy() to copy strings
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
pr
e
tty:
u
s
e
s
t
a
r
ts_with() to check for a
prefix
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for-each-r
e
f
: use skip_
p
refix() to
avoid d
u
pl
i
cate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
R
e
né S
c
harfe
co
n
ne
c
t: use strcmp() for string compariso
n
commit
|
commitdiff
|
tree
2015-02-17
René Schar
f
e
dae
m
on:
u
se callback to build i
n
terpo
l
ated p
a
th
commit
|
commitdiff
|
tree
2015-02-17
R
ené Scharfe
d
a
emon: look
up cli
e
nt-supplied host
n
ame lazily
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
fe
r
e
fs: plu
g
strbuf leak in l
o
ck_ref_sha1_
b
asic()
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Sch
a
rfe
transport: simplify duplicating a s
u
bstring i
n
tran
s
port_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
René
Scharfe
m
erge: release strbuf after
u
se i
n
suggest
_
c
o
nf
l
icts()
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
commi
t
-tr
e
e:
simp
l
i
fy
p
ars
i
n
g of op
t
ion
-
S using
s
kip_pr
e
fix(
)
commit
|
commitdiff
|
tree
2014-12-12
René
S
cha
r
fe
use s
t
rbuf_complete_li
n
e() for a
d
ding a newline if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
R
e
né Scha
r
fe
use labs() for variables of type long instead of a
b
s
(
)
commit
|
commitdiff
|
tree
2014-11-17
R
ené
S
ch
a
rfe
use labs() for variables of ty
p
e l
o
ng instead of abs(
)
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
run
-
command: us
e
v
o
i
d
to declare that f
u
ncti
o
ns take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René Scharf
e
use args member of struct
c
hild_process
commit
|
commitdiff
|
tree
2014-11-10
René S
c
har
f
e
trailer: use CHILD_PR
O
CES
S
_INIT i
n
apply_command()
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Scharfe
api-
r
un-command: add m
i
ssing
l
ist
i
tem marker
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
us
e
chi
l
d_process_
i
nit()
to initialize struct child
_
proc
e
ss
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René S
c
harfe
recei
v
e-pack: av
o
id minor leak
i
n case start_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: a
d
d co
l
or
.
grep
.
m
atchcontext and color
.
gr
e
p
.
mat
c
hselected
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scharfe
use env_arr
a
y member of struct ch
i
ld_proces
s
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scha
r
fe
run
-
command: add env
_
a
r
ray, an optional argv_array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
René Sc
h
arfe
receive-pack:
p
l
ug m
i
nor memory leak i
n
unpac
k
()
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
r
fe
use ski
p
_prefix() t
o
a
void more magic
n
umbers
commit
|
commitdiff
|
tree
2014-10-07
René Scha
r
fe
mailsplit: remove
u
nnecessary un
l
i
nk(2
)
call
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
bu
n
dle: plug minor memory l
e
ak in
i
s_
t
ag_i
n
_
d
ate_range()
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
S
c
ha
r
fe
d
a
emon: remove
write-o
n
ly v
a
riable maxfd
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: f
i
x
err
o
r m
e
ssage after
b
i
n
d()
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
Scharfe
daemon: h
a
n
d
l
e gethostb
y
n
ame()
e
rror
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é
Schar
f
e
sha1
-
l
o
ok
u
p
: ha
n
dle duplicate
s
i
n
sha1_pos()
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é Scharf
e
sha1-array: add test-sha
1
-array
a
n
d basic te
s
ts
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é Sch
a
rfe
t0090: avoi
d
p
a
ssing empty string
t
o pr
i
ntf %d
commit
|
commitdiff
|
tree
2014-09-22
René Scharf
e
r
e
mote: simplify m
a
tc
h
_name_with_pattern()
u
s
i
ng
s
t
rbuf
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
gra
p
h: s
i
m
p
lify graph
_
padding_line
(
)
commit
|
commitdiff
|
tree
2014-09-18
René
S
charfe
u
s
e REALLOC_ARRAY
for changing the allocation size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
add macro REA
L
LOC_ARRAY
commit
|
commitdiff
|
tree
2014-09-15
René Schar
f
e
rep
a
ck: c
a
ll pr
u
ne_packe
d
_objects() a
n
d upd
a
te_
s
erv
e
r_info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
s
trbuf: use
s
trbuf_add
c
har
s
() for adding a cha
r
multiple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
Re
n
é Scharf
e
s
t
rbuf: export
s
trbuf_addchars
(
)
commit
|
commitdiff
|
tree
2014-09-08
R
e
né Scharfe
trace: correct
t
r
a
ce_strbuf() pa
r
am
e
ter type for !HAVE_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharf
e
imap-sen
d
:
simplify v
_
issue_im
a
p_cmd() and get_cm
d
_
r
esult
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Sc
h
arfe
merge-
t
re
e
: remove unused df_con
f
l
i
ct arguments
commit
|
commitdiff
|
tree
2014-09-02
R
ené Sch
a
rfe
h
t
tp-walker: si
m
plify process_alternates_re
s
ponse
(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Schar
f
e
config: simplify g
i
t_config_include()
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harfe
pack-w
r
i
te: simplify index
_
pack_lockfi
l
e
u
si
n
g ski
p
_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
o
n
ne
c
t: simplify c
h
eck_ref() using skip_
p
refix() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é Schar
f
e
use strbuf_add_absolute_path() to add
absolu
t
e paths
commit
|
commitdiff
|
tree
2014-08-26
René S
c
h
arfe
abspath: convert absolute_path()
t
o
s
trbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xg
e
tcwd() to
s
e
t
$GIT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
use
x
get
c
wd()
to get t
h
e curre
n
t
dire
c
tory
or die
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
wrapper: add x
g
etc
w
d()
commit
|
commitdiff
|
tree
2014-08-26
R
e
né S
c
h
a
rfe
absp
a
t
h
: convert real
_
p
ath_internal() t
o
strbuf
commit
|
commitdiff
|
tree
2014-08-26
René S
c
h
a
rfe
abspath:
u
se s
t
rb
u
f_ge
t
cwd() to remem
b
er
original working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
s
e
tup: con
v
ert
setup
_
git_d
i
r
e
ctory_gently_1
e
t
al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
René Schar
f
e
wa
l
ker: avo
i
d q
u
adratic l
i
st in
s
ertion in mar
k
_complete
commit
|
commitdiff
|
tree
2014-08-25
René
S
c
h
arfe
sha1_n
a
me: avoid quad
r
atic list insertion in h
a
ndle_one_ref
commit
|
commitdiff
|
tree
2014-08-20
R
e
né
Scharfe
run-command
:
i
n
l
in
e
prepare_run_c
o
mmand_
v
_op
t
()
commit
|
commitdiff
|
tree
2014-08-20
R
e
né Scharfe
run-command: call run_comm
a
n
d
_
v_
o
pt_
c
d_env() inste
a
d
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René
S
charfe
run-command
:
i
n
troduce ch
i
l
d
_pr
o
c
e
ss_init
(
)
commit
|
commitdiff
|
tree
2014-08-20
R
e
n
é Scharfe
run-co
m
m
and: in
t
r
o
duce C
H
ILD_PROCESS_INIT
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path
m
a
c
ros
i
nto inline f
u
nctio
n
commit
|
commitdiff
|
tree
2014-08-18
René Schar
f
e
c
lean: use f
(
void
)
in
s
t
e
a
d
o
f f
(
) to
d
eclare a pointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
Re
n
é S
c
h
a
rfe
read-c
a
che: ch
e
ck for lea
d
ing symlinks when ref
r
eshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
René Schar
f
e
init: a
v
oid superf
l
u
ous
real_path() ca
l
ls
commit
|
commitdiff
|
tree
2014-07-28
René
Scharfe
un
i
x-sockets
:
u
se str
b
u
f
_
getcwd()
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Scharfe
strbuf
:
add
s
t
r
buf_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
u
s
e xmemd
u
pz
(
) t
o
allocate
c
o
pies of strings
given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René Sc
h
arfe
use xcalloc()
t
o allo
c
a
te
z
e
ro-initialized memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
unix-socket: rem
o
ve stale socket
b
efore ca
l
ling
c
hd
i
r(
)
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
remote-
t
estsvn: us
e
internal ar
g
v_array
of stru
c
t
c
hil
d
_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
arfe
bundle: us
e
i
n
ternal argv_
a
rr
a
y o
f
s
t
r
uct chil
d
_p
r
ocess
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
fast
-
import:
use hashcm
p
() for SHA1 hash comparison
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
arfe
t
ra
n
sport: sim
p
lif
y
fetch_o
b
js_via_
r
syn
c
() usin
g
a
r
gv_array
commit
|
commitdiff
|
tree
2014-07-17
René
Scha
r
fe
r
un-comma
n
d: use internal
a
rg
v
_array of struct chi
l
d_proces
s
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
R
ené Scharfe
u
se commit_
l
ist_count(
)
t
o
cou
n
t
th
e
members of commit_lists
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
strbuf: use
s
t
rbuf_a
d
dstr()
f
or adding C strings
commit
|
commitdiff
|
tree
2014-07-16
René Scharfe
annotate
:
use argv
_
array
commit
|
commitdiff
|
tree
2014-07-10
René Scharf
e
fsck:
simplify fsck_commit_buffer(
)
by us
i
n
g commit_li
s
t_co
u
n
t()
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
commit: use co
m
mi
t
_list_append() i
n
stead of duplic
a
ting
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
mer
g
e: simplify merge_t
r
ivi
a
l
(
)
b
y using commit_l
i
st_append()
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Sch
a
rfe
use
s
t
r
b
uf
_
a
d
d
ch fo
r
adding
s
ing
l
e characters
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é S
c
h
arfe
u
s
e str
b
uf_ad
d
buf for
ad
d
i
ng
strbufs
commit
|
commitdiff
|
tree
2014-07-08
René
S
c
ha
r
fe
line-log
:
use
commit_list_append() instead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
R
ené Scharfe
di
f
f-tree:
c
all free_co
m
m
i
t_list() in
s
tead
o
f dupli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Scharfe
t5000, t5003: si
m
pl
i
fy commit
commit
|
commitdiff
|
tree
2014-07-01
René Scharf
e
sha1_fil
e
: avoid
o
verr
u
nning alternate ob
j
ect
b
ase
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
R
ené
S
charfe
sha1_fil
e
: repl
a
ce PATH_
M
A
X
buffer w
i
th
strbuf
i
n
p
rep
a
re_
p
a
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scha
r
fe
wt-statu
s
:
s
im
p
lify bui
l
din
g
of summary limit argument
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
wt-sta
t
us: use a
r
gv_array f
o
r
environment
commit
|
commitdiff
|
tree
2014-06-13
René
S
charfe
b
lame: simplify pr
e
pare_lines()
commit
|
commitdiff
|
tree
2014-06-13
René
S
charf
e
blame
:
factor out get_nex
t
_l
i
ne(
)
commit
|
commitdiff
|
tree
2014-06-09
René Scharfe
Use starts_with()
for
C strings instea
d
of
m
emcmp()
commit
|
commitdiff
|
tree
2014-06-02
René Scharfe
pack-
o
bjects
:
us
e
free
(
)+xc
a
lloc() instea
d
of xr
e
alloc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René Sc
h
arfe
ma
i
l
info: us
e
st
r
cmp() for s
t
ring compa
r
i
son
commit
|
commitdiff
|
tree
next