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
help: clean up kfmclient munging
2015-10-05
Je
f
f King
help: clean u
p
k
f
mclie
n
t mung
i
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
K
ing
rece
i
ve-
p
ack: simplify keep_arg
c
o
m
putation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
a
v
o
id sprintf
and strcpy with flex arrays
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use
a
lloc_ref rather than
h
and-allocating
"struct ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
color: add overflo
w
checks for parsing colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
drop strcpy
in favor
o
f raw sha1
_
to_
h
e
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
use sha1_to_hex_
r
() i
n
stead of strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
daemon: use
c
ld-
>
e
n
v_array when re-sp
a
wning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
stat_t
r
ackin
g
_info: co
n
vert
t
o a
r
gv_a
r
ray
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
http-p
u
sh: use
a
n argv_array for
s
etup_revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
in
g
fetch-pack
:
u
s
e argv_array for index-pack / u
n
pack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f K
i
ng
diagnose_inv
a
lid_in
d
ex_p
a
th: us
e
strbuf to
a
vo
i
d strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff K
i
n
g
wri
t
e_loose_object: convert to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
King
r
e
mov
e
_leading_path: use
a
strb
u
f
for interna
l
s
t
ora
g
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff K
i
n
g
enter_repo: conver
t
fixe
d
-size buffer
s
to s
t
rbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
merge-
r
e
c
ursive: conv
e
rt malloc / st
r
cpy
to s
t
rbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f
King
t
r
a
n
s
port: use strbufs for stat
u
s table "qui
c
k
r
e
f"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
K
i
n
g
apply: con
v
e
rt
r
oot string
t
o
str
b
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
init: us
e
strbufs to store paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f Ki
n
g
prob
e
_utf
8
_p
a
thname_compo
s
i
t
ion
:
u
se
interna
l
str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
p
recompose_u
t
f8
:
drop unused variabl
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
sha
1
_get_pack
_
name: use
a
str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
t
tp-walker: sto
r
e url in
a
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
http-push: use strbuf i
n
stead of fwrite_buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
remote-ext
:
simplify git pkt-
l
ine ge
n
erat
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
upload-archive
:
c
o
nvert sprintf
to str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
resolve_r
e
f: use strbufs for intern
a
l
bu
f
f
ers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
read_remotes_file: sim
p
lify string handl
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
r
e
ad_br
a
nches_f
i
le: simplify string handli
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
mailmap: re
p
l
ace strcpy with xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help: drop
prepend fun
c
tion in favor of xst
r
f
mt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-filter: drop spr
i
ntf a
n
d strcpy
c
alls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
u
s
e
strip_suffix and xstrfmt to re
p
la
c
e suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fetch: repla
c
e static buffer with xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
conf
i
g: use xstrfmt in normalize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
p
lace
trivia
l
malloc + sp
r
intf / strcpy calls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
rec
e
ive-pack: convert str
n
c
py to xsnpri
n
tf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
t
tp-push: replace
s
trcat with
xsnpri
n
tf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Kin
g
add_packed_git:
c
o
nvert
strcpy into x
s
nprin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
entry
.
c: convert str
c
py to xsnp
r
int
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
grep: use xsn
p
rin
t
f to
for
m
at failure
m
essage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
c
ompat/hstrerror:
convert sprintf to
s
nprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
stop_p
r
ogress_msg: convert
s
printf to xsnpri
n
tf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
Kin
g
find_short_object_filename: convert spri
n
tf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
use xsnprintf f
o
r
gen
e
rating git object headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: use x
s
n
printf for
trivial
forma
t
ting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
co
n
ve
r
t
trivia
l
sprintf / str
c
py calls
t
o xsnprint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
om
p
at/inet_ntop:
f
ix off-by
-
one
i
n inet_nto
p
4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
test-dump-cac
h
e-
t
ree: avoid overflow of c
a
che-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progress: st
o
re throughput display in a str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
trace: use
s
trb
u
f for quote_crnl ou
t
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
ma
i
l
s
pl
i
t
:
ma
k
e PATH_MAX buf
f
ers dynami
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
fsck: use str
b
uf
t
o
g
enerate alternate director
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
add re
e
nt
r
ant va
r
iants of sh
a
1_to_hex a
n
d find_
u
ni
q
ue_ab
b
re
v
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
strb
u
f
:
make strbu
f
_com
p
l
ete
_
line
m
o
re ge
n
eric
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add
g
it
_
path_buf helper f
u
nctio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
d
d xsnprintf helper fu
n
cti
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
s
ck: do
n
't
fsc
k
alternat
e
s for
c
o
n
nectivity-o
n
l
y check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: fix minor in
d
entat
i
o
n violation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
mailsplit: fix FILE*
l
eak in
split_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
how-branch: avoid segf
a
u
lt wi
t
h -
-
r
e
f
l
og of
u
nbo
r
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-branch:
u
s
e a
s
trbuf for reflog
d
escri
p
tions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
K
i
n
g
read_info_alternates: handle paths la
r
ger than PATH_M
A
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
n
o
te
s
: use a strbuf in ad
d
_no
n
_
n
ote
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
ve
r
ify_absent: allow filename
s
longer t
h
an PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-protocol:
cla
r
ify LF-handling in PKT-
L
INE
(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff
King
rerer
e
:
release lockfile in non
-
writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff Ki
n
g
l
o
g: d
i
agnose
empty
HEAD
m
ore cl
e
arly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
J
eff Kin
g
rev
-
li
s
t
:
make it obvious
that
w
e d
o
not support note
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
J
e
ff
K
ing
c
o
nfig:
silence war
n
ings for comman
d
names with invalid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f King
get_url
m
atc
h
: avoid useless strbuf
write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f
K
ing
format_co
n
fig:
sim
p
li
f
y buf
f
er handlin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff Kin
g
f
o
rmat_
c
o
nfig: don't init strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Ki
n
g
vrepor
t
f: avoid
i
n
termediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jef
f
King
vreportf: re
p
o
r
t to
a
rbitrary f
i
l
ehandles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
m
e
moize common git-path "constant" file
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
get_repo_path: r
e
fa
c
tor
p
a
th-a
l
location
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
fin
d
_
hook: keep our own st
a
tic
b
uffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
refs
.
c
:
remove_empt
y
_directories can
t
ake a st
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c: avoid git_path ass
i
gnm
e
nt in lock_ref_sha1_ba
s
ic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
i
ng
refs
.
c: avoid repeated
g
i
t_pa
t
h calls in r
e
nam
e
_t
m
p
_
lo
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
Kin
g
refs
.
c
: s
i
mplify strbufs
i
n re
f
log set
u
p and writing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
p
a
th
.
c: drop git_path_sub
m
odul
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
re
f
s
.
c: remov
e
extra git_path
c
alls from read_loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
ef
f
King
r
em
o
te
.
c
:
d
r
op extrane
o
us lo
c
al variabl
e
from migrate_f
i
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
Ki
n
g
pref
e
r
m
kpathdup to
m
kpath in assig
n
ments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
in
g
prefer
g
it_pat
h
d
up to git_
p
a
t
h
in some possib
l
y-
d
a
ngero
u
s
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
add
_
to_a
l
ternates_f
i
le: don't add duplicate entr
i
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
Ki
n
g
t5
7
00: moderni
z
e style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
Kin
g
cache
.
h
:
compl
e
t
e
set of git_path_s
u
bmod
u
le hel
p
er
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff K
i
ng
cac
h
e
.
h: clarify documentat
i
o
n for git_path, et a
l
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
ing
c
lone: use com
p
uted len
g
th in gu
e
ss_di
r
_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: add te
s
ts for output
d
irectory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Ki
n
g
test-lib: d
i
s
able trace when test is not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
e
ff King
test-lib: turn
o
f
f
"-x" tracing d
u
ring chain-lint che
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Je
f
f
King
r
e
f
s
: support n
e
ga
t
ive transf
e
r
.
hideRef
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff King
docs/config
.
txt:
r
eorder
hideRefs confi
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff
King
s
t
rbuf: ma
k
e s
t
r
b
uf_add
f
time mor
e
robust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff Kin
g
check_an
d
_fre
s
hen_file: fix
r
eversed success-c
h
eck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff King
re
v
-list:
d
is
a
ble --us
e
-bitmap-ind
e
x when pruning c
o
mmits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next