repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'ah/usage-strings' into maint
2015-05-20
Ren
é
S
charfe
d
ir: remo
v
e
u
nus
e
d variable
s
b
commit
|
commitdiff
|
tree
2015-05-20
Ren
é
Sc
h
a
rfe
clean: remov
e
un
u
sed variable buf
commit
|
commitdiff
|
tree
2015-05-20
Ren
é
Scha
r
fe
use file_exists(
)
t
o
che
c
k if a file exists in the
.
.
.
commit
|
commitdiff
|
tree
2015-05-19
René Scharfe
pack-bitma
p
s:
p
lug memory leak, f
i
x
allocation
s
ize
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é Sch
a
r
fe
us
e
isxdi
g
it() for checking if a
c
haracter
is
a hexadecimal
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: deglobalize
hostname
i
nformat
i
o
n
commit
|
commitdiff
|
tree
2015-03-10
R
e
n
é
Scharfe
daemo
n
: use
s
trb
u
f for ho
s
t
name info
commit
|
commitdiff
|
tree
2015-03-05
René Scharf
e
zlib: init
i
a
l
iz
e
git_z
s
trea
m
in git_deflate_init{,_
g
zip
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
R
e
né Scharfe
archi
v
e-zi
p
: mark
text
f
i
l
es
in
a
r
c
hives
commit
|
commitdiff
|
tree
2015-02-22
René
S
c
harfe
s
ha1_name: use strlcpy
(
)
to
c
o
py st
r
i
ngs
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
S
charfe
pretty: use starts_with() to che
c
k
for a prefix
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for-each-re
f
:
use sk
i
p_prefix() to avoid duplicate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Schar
f
e
co
n
nect: use strcmp() for st
r
ing comparis
o
n
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
d
a
emon: use c
a
llback t
o
build i
n
terpol
a
t
e
d pa
t
h
commit
|
commitdiff
|
tree
2015-02-17
R
ené Sc
h
a
r
f
e
da
e
m
o
n: look up cli
e
nt-supplied h
o
stname
lazily
commit
|
commitdiff
|
tree
2014-12-29
René
Scharfe
refs: plug strb
u
f
leak
i
n
lock
_
ref_
s
ha1_basic(
)
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Schar
f
e
t
ra
n
sport:
s
implify duplic
a
ting a substri
n
g in
tran
s
p
ort_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Scharfe
merge: release
s
trbuf after
u
se in suggest_
c
onflicts()
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
commit-tree: s
i
mplify parsing of option -S
u
sing
s
kip_p
r
efix()
commit
|
commitdiff
|
tree
2014-12-12
René Scharfe
use strbuf_complete_line
(
) for
adding a newline
i
f
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René
Sch
a
rfe
use labs()
for variab
l
es
o
f ty
p
e
long inste
a
d of abs(
)
commit
|
commitdiff
|
tree
2014-11-17
René
S
c
h
ar
f
e
u
se labs() f
o
r variables
o
f ty
p
e
long inst
e
ad of
a
bs()
commit
|
commitdiff
|
tree
2014-11-10
René Scha
r
fe
run-command
:
use v
o
i
d
to declare that fu
n
cti
o
ns take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use args membe
r
of s
t
ruct ch
i
ld_pro
c
ess
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Sch
a
rfe
trailer: u
s
e
CH
I
L
D_PROCE
S
S_INIT in apply_
c
o
mmand()
commit
|
commitdiff
|
tree
2014-10-28
René S
c
harfe
a
p
i-run-command: add mi
s
si
n
g
l
i
s
t i
t
em marker
commit
|
commitdiff
|
tree
2014-10-28
René Sch
a
rfe
u
se c
h
ild_process_ini
t
(
)
t
o
i
nitialize struct
c
hi
l
d_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
re
c
eive-pac
k
: avoid min
o
r leak in case
s
t
art_a
s
yn
c
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: a
d
d color
.
gr
e
p
.
matchconte
x
t and color
.
grep
.
matchselected
commit
|
commitdiff
|
tree
2014-10-19
René S
c
harfe
use env_a
r
ra
y
member of struct child_pro
c
ess
commit
|
commitdiff
|
tree
2014-10-19
René
Scharfe
run
-
comman
d
: add env_array, a
n
optional argv_ar
r
ay
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
René Scha
r
fe
receive-
p
ack: pl
u
g minor memory leak in unpack()
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use skip_pre
f
i
x() to av
o
id more m
a
g
ic n
u
mbers
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
m
a
i
lsplit: remove unnecessary
unl
i
nk(
2
)
call
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
bundle:
p
lug
min
o
r
memory leak in is
_
tag_in_date_r
a
n
g
e()
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é Scharfe
daemon: remove write-only variab
l
e
maxfd
commit
|
commitdiff
|
tree
2014-10-01
René
Sc
h
a
rfe
d
a
e
mon: fix error m
e
ssage after b
i
nd
(
)
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é Scharf
e
daemon: handle geth
o
stbyname() error
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
Scharfe
sha1-
l
ook
u
p
:
h
andle duplic
a
tes i
n
sha1_pos()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-array: a
d
d tes
t
-s
h
a
1
-arr
a
y and basic tests
commit
|
commitdiff
|
tree
2014-09-30
René Scharfe
t0090: avoid passing
empty st
r
ing to printf %d
commit
|
commitdiff
|
tree
2014-09-22
Re
n
é Scharfe
remote: simplify mat
c
h_name_with_pattern() using strbuf
commit
|
commitdiff
|
tree
2014-09-22
R
ené Sc
h
arfe
g
ra
p
h: simpl
i
fy graph_padding_
l
ine
(
)
commit
|
commitdiff
|
tree
2014-09-18
Ren
é
Scharfe
use REALLOC_ARRAY for
changing the a
l
l
o
cat
i
on si
z
e
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René
S
charfe
ad
d
m
acro REALLOC_ARRAY
commit
|
commitdiff
|
tree
2014-09-15
R
ené Scharfe
rep
a
ck: call pr
u
ne_packed_obje
c
t
s() and update_server_inf
o
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René
S
c
h
arfe
strbuf: use strb
u
f
_
a
ddcha
r
s()
f
o
r
a
dding a char multiple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René
S
c
h
ar
f
e
s
trbuf: ex
p
o
r
t
strbuf_a
d
d
c
ha
r
s(
)
commit
|
commitdiff
|
tree
2014-09-08
René Schar
f
e
t
r
a
ce: correct
t
race_strbu
f
() parameter t
y
pe f
o
r !
H
AVE_VAR
I
A
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René
S
charf
e
imap-
s
e
nd: simpli
f
y
v_
i
ssu
e
_imap
_
cmd() and
g
e
t
_cmd_res
u
l
t
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é
S
c
h
a
r
fe
merge-tree: remo
v
e unused df_confl
i
ct arg
u
ments
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
http-walker: sim
p
l
ify process_alternates_r
e
sponse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
conf
i
g
:
simplif
y
git_con
f
ig_incl
u
de()
commit
|
commitdiff
|
tree
2014-09-02
René S
c
har
f
e
p
a
c
k-write: simp
l
ify
i
ndex_pack_lockfi
l
e using skip_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
ené Sch
a
rfe
connect: simplify check_ref() using skip_prefix() and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Sch
a
r
fe
use str
b
uf_ad
d
_abs
o
lute_path(
)
to a
d
d
abs
o
lut
e
paths
commit
|
commitdiff
|
tree
2014-08-26
René
Scharf
e
abspa
t
h: convert absolute_pa
t
h
(
) to
s
t
rbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
se
x
get
c
w
d() to set $GIT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xgetc
w
d() to get the cur
r
ent d
i
r
ecto
r
y or die
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
wrapper: a
d
d xgetcwd()
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath
:
convert real_path_i
n
ternal
(
)
to strbuf
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é
Sc
h
a
rfe
abspath:
u
s
e
strbuf_getc
w
d() t
o
remember
o
riginal w
o
rking
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
setup:
c
o
nvert setup_gi
t
_directory_gently_1 et al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
w
a
lker: avoid quadratic lis
t
insertion i
n
m
a
rk_comp
l
ete
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
sha1_name: a
v
oid quadratic list
insert
i
on in handle_one_
r
ef
commit
|
commitdiff
|
tree
2014-08-20
Re
n
é Sc
h
ar
f
e
r
u
n-c
o
mmand:
in
l
ine p
r
epare_run_command_v_opt
(
)
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
un-command: call
run_command_v_op
t
_cd
_
env() ins
t
ead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René
S
charfe
r
un-comm
a
nd
:
introduce
child_process
_
in
i
t()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command: introdu
c
e CHILD_PROCESS_INIT
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn p
a
th macr
o
s into inline f
u
nction
commit
|
commitdiff
|
tree
2014-08-18
Ren
é
Scharfe
clean:
use f(vo
i
d
)
inst
e
ad of f() t
o
de
c
lare a
p
o
inter
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
R
ené Scharfe
read-cache: check for leading sy
m
link
s
when
r
efreshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
Re
n
é
Scharfe
init: avoid
s
uperfluous real_path() calls
commit
|
commitdiff
|
tree
2014-07-28
René Scha
r
fe
unix-sockets: use str
b
uf
_
get
c
wd()
commit
|
commitdiff
|
tree
2014-07-28
René
Scharfe
strbuf:
a
d
d
s
t
rbuf_g
e
tcwd()
commit
|
commitdiff
|
tree
2014-07-21
Ren
é
S
c
h
a
rfe
use xmemdu
p
z
() to
a
llocate copies of s
t
r
i
ngs given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
Re
n
é
Scha
r
fe
use xcalloc() to
a
llocate zero-ini
t
iali
z
e
d memory
commit
|
commitdiff
|
tree
2014-07-21
R
ené Scharfe
unix-socket: r
e
move stale s
o
cket bef
o
re cal
l
in
g
chdir()
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
remote
-
tests
v
n: u
s
e internal argv_a
r
ray of struct child_pro
c
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René
S
c
harfe
bundle:
u
s
e
i
nterna
l
ar
g
v_arr
a
y of
struct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scharf
e
fast
-
impo
r
t
: us
e
hashcmp() for SHA1 hash comparis
o
n
commit
|
commitdiff
|
tree
2014-07-18
René Scha
r
f
e
transport: simpl
i
f
y
fetch_objs_via_rsync() using
a
rgv_a
r
ray
commit
|
commitdiff
|
tree
2014-07-17
R
ené S
c
h
ar
f
e
run-c
o
mma
n
d: use internal argv_array o
f
struct child_proc
e
ss
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
u
se co
m
mit_list_cou
n
t() to count the memb
e
rs of commit_li
s
ts
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
str
b
uf: us
e
strbuf
_
addstr() for
a
ddi
n
g C strings
commit
|
commitdiff
|
tree
2014-07-16
Re
n
é
S
charfe
a
nnotate: use
argv_ar
r
ay
commit
|
commitdiff
|
tree
2014-07-10
René
S
c
harfe
fsck: simplif
y
f
s
ck_c
o
mmit_buffer() by using
c
ommi
t
_list
_
coun
t
()
commit
|
commitdiff
|
tree
2014-07-10
R
e
n
é
S
charf
e
commit: use commit_list_append() i
n
s
tead of
d
upli
c
ating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
merge: simpli
f
y merge_trivial()
b
y
u
sing commi
t
_list_append
(
)
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é S
c
ha
r
fe
u
se strbuf_addch for adding single characte
r
s
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
use strbuf_a
d
db
u
f for adding s
t
rbufs
commit
|
commitdiff
|
tree
2014-07-08
Re
n
é
Scharfe
line-log: use commit_list_a
p
pend() instead of du
p
licating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
Re
n
é
Scharfe
di
f
f
-
tree: call free_commit_list() instead of du
p
licating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Scharfe
t5000, t
5
003: simplif
y
commit
commit
|
commitdiff
|
tree
2014-07-01
René Sc
h
arfe
sha1_file: avoid overrunning alt
e
rna
t
e
o
bject b
a
s
e
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
Re
n
é S
c
harfe
sha1_
f
ile: repl
a
ce PATH_MAX buffe
r
with
s
trbuf in pre
p
are_pa
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
R
e
né Sc
h
ar
f
e
wt-status: s
i
mplify
b
uilding of summar
y
limi
t
a
r
g
u
ment
commit
|
commitdiff
|
tree
2014-06-30
R
e
né Sc
h
a
rfe
wt-status
:
use argv_array for environmen
t
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame:
s
i
mpl
i
fy pre
p
a
r
e_lines
(
)
commit
|
commitdiff
|
tree
2014-06-13
René Sch
a
rfe
bla
m
e: facto
r
out get_next_line(
)
commit
|
commitdiff
|
tree
next