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
Jef
f
King
help: clean up kfmcli
e
nt munging
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
receiv
e
-pack: simplify keep_arg computation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
f
f
King
avoid spri
n
tf an
d
s
t
rcpy with flex arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use alloc_ref
r
ath
e
r than
h
a
n
d-allocating "struct r
e
f"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
c
o
lor: add overflow checks
f
or parsing colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
ef
f
K
i
n
g
d
r
op st
r
cpy in fa
v
o
r
of
r
a
w sha1_to_hex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use sha
1
_to_he
x
_r(
)
inst
e
ad of
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
da
e
mon: use cld->env_ar
r
ay when re-spawn
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
st
a
t_tracking_info: conv
e
rt to argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
http-push: use
a
n
argv_array for set
u
p_r
e
visions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
fetch-pac
k
: use arg
v
_
array
f
or index-pack / unpack
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
di
a
gnose_
i
nvalid_index_
p
ath: use
s
trbuf to avoid strcpy
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
w
r
ite
_
l
o
ose_obje
c
t: convert to s
t
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
r
em
o
v
e
_l
e
ading_
p
ath: us
e
a st
r
b
uf for in
t
e
r
n
al
st
o
r
a
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
enter_
r
epo: convert fixed-size
buff
e
r
s
to strb
u
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
merge-recu
r
s
ive: conv
e
rt ma
l
lo
c
/ strcpy to strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
transpor
t
: use strbufs f
o
r status table "quickref
"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
Kin
g
appl
y
: co
n
vert ro
o
t st
r
ing t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff K
i
n
g
in
i
t
:
use strbufs
t
o store
p
a
ths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
prob
e
_
u
tf8_pat
h
name_com
p
osition: u
s
e internal
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precomp
o
se_utf8
:
dr
o
p un
u
sed vari
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
s
ha1_get_p
a
ck_nam
e
: u
s
e a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http
-
walker: st
o
re url i
n
a
strb
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
htt
p
-push: use st
r
buf instead of fwrite_b
u
ffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
remote-
e
xt: si
m
plify g
i
t
pkt-line
g
eneration
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
uplo
a
d
-ar
c
hive: convert sp
r
intf to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
s
olv
e
_re
f
:
u
s
e st
r
buf
s
for intern
a
l buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
read_remotes_
f
i
le: sim
p
lify str
i
ng
handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
re
a
d_b
r
anch
e
s
_file
:
simplify st
r
ing handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
mailmap: replace
s
trcpy wi
t
h
xstrdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
h
e
lp: drop
pr
e
pend function
i
n
favor
o
f
x
s
t
r
f
mt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
ef-filter: drop sprintf and strcpy calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
u
s
e
strip
_
suffix and xstrfmt t
o
replac
e
suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
fetch: replace static buffer with
x
s
trfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: use x
s
trf
m
t in n
o
rmalize_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
rep
l
ace trivia
l
malloc + sprintf / strcpy
c
all
s
with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
King
rec
e
ive
-
pack: convert
s
trn
c
p
y
to
x
snprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
http-push: r
e
place strcat with xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
add_pac
k
ed_git: conv
e
r
t
strcpy into x
s
nprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
e
ntry
.
c: c
o
nvert strcpy to
x
s
nprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep
:
use
xsnp
r
i
n
t
f to format failure message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
o
mpat/
h
strerror: convert
s
printf to s
n
printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
stop_pr
o
gre
s
s_m
s
g:
c
onvert sprin
t
f
to xsnpr
i
nt
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
f
ind_short
_
object_
f
ilename:
c
onv
e
r
t
s
printf to xs
n
pri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
use xsnprintf for gene
r
ating
git ob
j
ect headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
a
rchi
v
e-t
a
r: use xsnprin
t
f fo
r
t
rivial f
o
r
m
atting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
Kin
g
co
n
vert trivial sprintf
/ strcpy calls to x
s
np
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
compat/inet_nto
p
: fix off-by-one
in
i
net_nto
p
4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
t
e
st-dump
-
cac
h
e-tree: avoid overf
l
ow of cach
e
-t
r
ee
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progress: store thr
o
u
ghput display
in a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use strbuf for quote_crn
l
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: make PATH_MAX buff
e
rs d
y
n
amic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
ing
f
sck: us
e
strb
u
f to generate
a
lternate directori
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add r
e
en
t
rant variants of sh
a
1
_to_hex and find
_
unique
_
abbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
strbuf:
m
a
ke s
t
rb
u
f_complete_lin
e
m
o
re gen
e
ric
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
ad
d
gi
t
_pa
t
h_buf helper
function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add xsnprintf helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
f
s
c
k
:
don't fsck alterna
t
es fo
r
conne
c
tivity-only check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
rchive
-
tar: fix
minor i
n
d
e
nt
a
tion
v
i
olation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
mai
l
split: fix FI
L
E* l
e
a
k
in split_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
show
-
bran
c
h: avoid segfault with --
r
eflog of
u
nborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
Ki
n
g
show-b
r
anch: use a strbuf for reflo
g
des
c
riptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
King
read_in
f
o_alter
n
ates:
h
a
ndle pat
h
s larger
t
ha
n
P
ATH_
M
AX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
notes
:
use a s
t
rbuf in a
d
d_non_note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_absent: allow fil
e
n
a
mes longer than PATH
_
MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-protocol:
cla
r
ify
L
F-h
a
ndling in PK
T
-LINE()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jef
f
King
rer
e
r
e
: release lockfile in non-writing fun
c
tion
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jef
f
Kin
g
log: diagnose
empty
H
EA
D
m
ore cl
e
arly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
re
v
-l
i
st:
make
i
t
o
b
v
i
o
us that we
do not
s
upport notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
J
e
f
f King
config: silence w
a
rnings fo
r
comm
a
n
d
nam
e
s with invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
J
eff King
get_u
r
lmatch: avoid usel
e
ss strb
u
f w
r
it
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff Ki
n
g
form
a
t_
c
onf
i
g: si
m
pl
i
fy buffer
h
an
d
ling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_conf
i
g
: don't
ini
t
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid i
n
term
e
diate buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
v
r
ep
o
rtf: report to
arbit
r
a
ry
f
i
lehandles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize commo
n
git-p
a
t
h
"
constant" fi
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
get_repo_path: refactor path-a
l
lo
c
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
find_hook: keep our own static buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
ref
s
.
c: rem
o
ve_empty_director
i
es
c
an take a
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
K
i
ng
refs
.
c: avoid git
_
path as
s
ignment in lock_ref_
s
h
a
1_basic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
refs
.
c: avoid re
p
eated git_path cal
l
s in rena
m
e
_tmp_l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
fs
.
c: simplif
y
s
t
rbufs in reflog
s
etup and
wri
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff
King
path
.
c: drop git_path_submodule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
refs
.
c: remove ext
r
a git_path
calls from read_
l
oose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
remote
.
c: drop extraneous local v
a
riabl
e
from migrate_file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
prefer mkpat
h
dup to mkpath
i
n
assignments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f K
i
n
g
pr
e
fer git_pathdup to git_p
a
th in some pos
s
i
bl
y
-dangerous
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
add_to_alternates_file: don't add duplicate e
n
tries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
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
c
a
c
he
.
h
:
com
p
l
e
te set of g
i
t_path_submodul
e
helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
ca
c
he
.
h:
c
larify docum
e
nt
a
tion for git_path
,
e
t
al
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
clone: u
s
e computed l
e
n
gth
in
g
u
e
ss_dir_
n
ame
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
clo
n
e: a
d
d tests for output direc
t
or
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib:
disa
b
le trace when test is not v
e
rbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
J
e
ff King
te
s
t-lib: turn
off "-x" tracin
g
duri
n
g
c
hain-lint check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
refs:
support negative
transfer
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Je
f
f King
do
c
s/config
.
txt: reord
e
r
hideRefs config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
J
eff King
strb
u
f:
make strbu
f
_addftime more
r
obust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
che
c
k
_and_fre
s
hen_f
i
le:
f
ix reversed
success-
c
h
e
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jeff Kin
g
rev-
l
ist: disa
b
le --use-bit
m
ap-index
w
h
en pruning commit
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next