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
receive-pack: simplify keep_arg computation
2015-10-05
Jeff King
receive-pack: s
i
m
plify ke
e
p_arg comp
u
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
eff Ki
n
g
avoid sprintf
an
d
strcpy with
flex arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use
a
l
loc_ref rather
t
ha
n
hand
-
allocating "st
r
uct r
e
f"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
color: add overflow c
h
ecks for parsing colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
d
rop
s
trcpy in favor o
f
raw sha1_
t
o_hex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use sha1_
t
o_hex_r() instead of strc
p
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
daemon: us
e
cld->env_array when re-spawning
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
stat_tracking_info:
c
onvert to argv_arra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
ht
t
p-p
u
sh: use
an argv_array for
s
e
tup_revisions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
King
fetch-p
a
ck:
u
se argv
_
ar
r
ay for index-
p
ack / unpack
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
Ki
n
g
diagnose_i
n
valid
_
index_path: us
e
strbuf
to
avoi
d
strcpy
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
write_
l
oos
e
_object: c
o
nvert to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
r
e
move_le
a
ding_path: use a strbuf f
o
r inte
r
nal st
o
rage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
enter_repo: co
n
vert fixed
-
si
z
e
b
uffers
t
o strbufs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
mer
g
e-recursive: convert
ma
l
lo
c
/
s
trcpy t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
transport: use str
b
ufs for status tab
l
e "q
u
ickref"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
i
ng
apply: convert root string
t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
ini
t
: use st
r
bufs to store paths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
pro
b
e_utf8_pathname_composi
t
i
o
n:
use intern
a
l strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
prec
o
mpo
s
e
_
utf8: drop unus
e
d va
r
iable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
King
sha1_get_pack_name:
u
s
e a s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
http-walker
:
s
t
ore url i
n
a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
http-push: us
e
strbuf inst
e
a
d
of fwrite
_
b
uf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f King
remote-ex
t
: simpli
f
y
g
it
pkt-
l
i
n
e
g
enerat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
u
p
load-
a
rchive: convert sprintf to
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
res
o
lve_ref: use
s
trbufs for internal buf
f
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
read_remotes_file:
s
i
m
pli
f
y
string h
a
ndli
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
K
i
ng
read_branches_file: simpli
f
y string handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailma
p
: r
e
pl
a
ce strcpy with xs
t
rdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
h
e
lp
:
dro
p
prepen
d
function in favor
of xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-filter: drop s
p
rintf and strcpy call
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
use s
t
rip_
s
uffix an
d
xstrfmt
to replace suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fetc
h
: replace s
t
atic buff
e
r with x
s
trfm
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config:
use xst
r
f
m
t
i
n
norma
l
ize_val
u
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
re
p
l
ace trivial
m
alloc + s
p
rintf / s
t
rcpy calls
w
ith
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
receive-pack: convert strncp
y
to x
s
npri
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
h
t
t
p-push
:
replace
s
tr
c
at with x
s
n
prin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add_packed_git: con
v
e
rt
st
r
c
py into
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
e
n
try
.
c: convert s
t
rcpy to
x
sn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
grep: use
x
s
n
printf
to forma
t
failure message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
compa
t
/h
s
trerr
o
r: c
o
nvert sprin
t
f to snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
stop
_
p
rogre
s
s_msg: convert sprintf
t
o xsnp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
find_short
_
ob
j
ect
_
filen
a
me: con
v
e
r
t spr
i
ntf
t
o
xsnprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
use xsn
p
ri
n
tf for
g
ener
a
ting git object hea
d
er
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
a
rc
h
iv
e
-tar
:
use xsnpr
i
ntf for triv
i
al format
t
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
co
n
vert
t
rivial spri
n
tf /
s
t
r
cpy calls t
o
xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
c
ompat/inet
_
ntop: fix off-b
y
-one
i
n inet_nto
p
4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
test-d
u
m
p-cache-tree
:
avoid o
v
erflow of cache-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
pr
o
gress: store t
h
roughput displa
y
in a s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
tra
c
e: use strb
u
f f
o
r quote_c
r
nl output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit
:
m
a
k
e
PATH_MAX buffe
r
s dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
s
ck: use
strbuf
t
o gen
e
rate
a
lternate directorie
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
d
d reentrant variants of sh
a
1_to_h
e
x and find_unique_a
b
br
e
v
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
s
trbuf: m
a
ke strbuf_complete_l
i
ne more gener
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
add
g
it
_
path_bu
f
helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
add xs
n
printf helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
fsck: don't fsck a
l
ternates f
o
r c
o
nn
e
ctivi
t
y-only check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
archiv
e
-tar: fix minor ind
e
ntation violatio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
m
a
ils
p
l
i
t: fi
x
F
I
L
E
*
leak
i
n
split_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
show-
b
ranch: avoid se
g
fault wit
h
--reflog of unbor
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
show-branch: use a strbuf f
o
r refl
o
g
des
c
ripti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
eff King
read_info_al
t
e
r
n
a
tes
:
handle paths
larg
e
r than PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
Kin
g
notes
:
use a strbuf
in add_non_note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_absent: allow fil
e
names longer than PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-pr
o
t
o
col: clarify LF-ha
n
dling in P
K
T-LI
N
E
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
eff King
rer
e
r
e:
r
e
leas
e
l
o
c
k
file in non-writ
i
ng fu
n
c
t
ion
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff Ki
n
g
log: diag
n
ose empty HEAD more
clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Ki
n
g
rev-list: ma
k
e it
o
bvio
u
s that
we do not support notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config: silence warnin
g
s for comma
n
d names with invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff
K
ing
get_urlma
t
ch: avoid
u
s
eless strb
u
f write
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_conf
i
g: simpl
i
f
y
buffe
r
handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
J
eff Kin
g
f
o
r
m
a
t_c
o
nfig: don't
init strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
J
eff King
vreportf: av
o
id
i
ntermed
i
ate b
u
ffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jef
f
King
v
r
ep
o
rtf:
r
eport
to arbitrary file
h
andl
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff Ki
n
g
memoize common git-pat
h
"constant" file
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
ge
t
_re
p
o
_
p
a
th: refactor p
a
th-allocation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
find_h
o
ok: keep our own sta
t
ic buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c: remove_empty_direc
t
ories can
take a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
refs
.
c: avoid
git_path
assignmen
t
in lock_ref_sha1_basic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: avoid
r
e
p
eated git_path calls in rename_tm
p
_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
ef
f
K
i
ng
refs
.
c: simpl
i
fy
s
t
r
bufs in
r
eflog
s
etup and writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
i
n
g
p
ath
.
c: drop
g
it_
p
ath
_
submodule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: remo
v
e extra g
i
t_path c
a
lls from r
e
a
d
_l
o
ose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
remote
.
c: drop ex
t
raneous local variable fr
o
m migrate_file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer mkpathd
u
p to
m
kpath in assignments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
ing
prefer git_pathdup
t
o git_path in some possi
b
ly-danger
o
u
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add
_
to_alt
e
rnates_file: don't add
d
upl
i
cate entri
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
t5700: modernize st
y
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
cache
.
h: complet
e
set of git_pa
t
h_su
b
m
o
dule he
l
pe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
c
a
c
he
.
h:
c
larif
y
d
o
c
u
mentation for git_
p
ath
,
e
t al
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: use c
o
mp
u
ted
l
ength in g
u
ess_dir_name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
clone: add tests for output d
i
r
ec
t
ory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
K
i
ng
test-lib: disable trace when te
s
t
is not verbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
King
test-lib: turn off "-x" t
r
ac
i
ng during c
h
ain
-
l
int check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
r
e
fs:
s
up
p
ort nega
t
i
ve transfer
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Jeff
K
ing
docs/conf
i
g
.
txt: reord
e
r h
i
deRefs
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
strbuf: m
a
ke str
b
uf_a
d
d
ftime
m
or
e
robust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
J
eff Kin
g
check_an
d
_fre
s
hen_file: fix
r
eversed success-check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jeff Ki
n
g
rev-
l
ist: disable --use-bitmap-in
d
ex when pruning
c
ommits
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
intr
o
duce "format" date-mo
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next