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
ref-filter: drop sprintf and strcpy calls
2015-09-25
Je
f
f King
r
e
f-filte
r
: drop s
p
rintf and strc
p
y ca
l
ls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
u
se strip_su
f
fix and xst
r
fmt to repl
a
ce
suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
e
tch: re
p
lace static
buffer
w
ith xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
co
n
fi
g
: use xst
r
fmt in
normal
i
ze_
v
alue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
replace trivial mall
o
c + s
p
rintf / strcpy calls with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
receive-pack: convert strncpy t
o
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
http-p
u
sh: replace
s
trcat with
x
s
npri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
add_pac
k
e
d_git: convert
strc
p
y into
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
e
n
try
.
c:
c
o
nvert
strcpy t
o
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep: use xsnprint
f
to format failure message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
compat/h
s
tr
e
rror: convert sp
r
intf
t
o
snp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
t
o
p
_p
r
ogress_msg
:
convert sprintf to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
f
i
n
d
_
sho
r
t_
o
bjec
t
_
fil
e
name: convert sprintf to xsnpri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use
x
snpri
n
tf for generating git object headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
arc
h
ive-tar: u
s
e xsn
p
rint
f
for trivial formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
conv
e
rt
triv
i
al sprintf / str
c
py calls to xsnprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
compat/inet_ntop: fi
x
off-by
-
o
ne in ine
t
_ntop4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Kin
g
test-
d
ump
-
cache-tree:
avoid over
f
l
ow
of cache-tr
e
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
pr
o
gr
e
ss: st
o
r
e
thr
o
ughput dis
p
l
ay
i
n a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff K
i
n
g
trace
:
us
e
st
r
buf
f
or quote_cr
n
l ou
t
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mai
l
split: make PATH
_
M
AX bu
f
f
e
rs dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
fsck: use strbuf to generate alternate
director
i
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add reen
t
rant va
r
iants of sha1_to_hex and find
_
uniq
u
e_abbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
strbuf: make
str
b
uf_complete_lin
e
m
ore generic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
add git_path_b
u
f helper
function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
add xsnprintf help
e
r f
u
nct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck:
don'
t
fsck alt
e
rna
t
es
for c
o
nnectivit
y
-only chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: fix m
i
nor indentation violat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
mailspli
t
: fix FILE* leak in split_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
show-branch: avoid
s
e
gfault
with --reflog of unb
o
rn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-branch:
use a strb
u
f for refl
o
g
d
escriptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
eff
K
i
ng
r
ead_i
n
fo_alternates: handle paths larger than PA
T
H_
M
AX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
no
t
es: use a str
b
uf in add_non_note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_a
b
s
ent: allow
filenames
l
o
n
g
er than PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
pack-p
r
otocol: clarify LF-
h
andling
i
n PKT-LINE(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
e
ff
King
rerere: re
l
ease l
o
c
kfil
e
in non-writing funct
i
o
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff King
l
og:
d
iagnose empty HEAD more clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
r
ev-l
i
st: make i
t
o
bv
i
ous
t
h
a
t we do not
supp
o
rt notes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
c
onfig: sile
n
ce warn
i
ngs for command names with invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
get_url
m
atch:
a
vo
i
d useless strb
u
f wri
t
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f K
i
ng
form
a
t_confi
g
: simplify buffe
r
ha
n
dling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff Kin
g
f
o
r
mat_con
f
ig:
don'
t
init st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vrep
o
rtf: avoid intermediate buffe
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf
:
r
e
port to arbitr
a
ry
f
ilehandle
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
memoize
c
ommon git-
p
ath "constant" files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
get
_
repo_pa
t
h: refac
t
o
r
path-allocation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
find_
h
o
ok
:
keep ou
r
own
st
a
tic buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
fs
.
c: remove_e
m
p
ty_
d
i
rectories can take a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
a
void git_path assignment in lock_r
e
f_
s
ha1_basic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c:
avoid rep
e
ated git_path calls i
n
rename_t
m
p_l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
refs
.
c: simp
l
ify strbufs in reflog
s
etu
p
and writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: drop
git_path_submodule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
refs
.
c:
remove ext
r
a git_path c
a
ll
s
f
rom read_loose_re
f
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
remote
.
c:
d
r
op ext
r
aneous local variable fro
m
m
ig
r
ate
_
f
i
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
p
refer mkpathdup
t
o mkpath in as
s
ignments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer
g
it
_
pathdup to g
i
t_p
a
th in
s
ome possibly-dangerous
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
ing
add_to_a
l
ternates_file:
d
on't add duplicate e
n
tries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
King
t5700: mode
r
ni
z
e sty
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
cache
.
h:
c
omplete set of
g
it_path_submodule
h
e
lpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: cla
r
ify
d
ocu
m
entat
i
on for git_pa
t
h, et al
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
ing
cl
o
ne: use computed length in
g
uess
_
dir
_
nam
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
c
lone: add tests for ou
t
put directo
r
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff
King
tes
t
-lib:
disable tr
a
ce when
t
e
st is n
o
t v
e
rbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
J
eff King
te
s
t-li
b
: turn
off "-x" tracin
g
d
urin
g
c
h
a
in-lin
t
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
refs: support negative transf
e
r
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Jeff
K
ing
docs/confi
g
.
t
x
t: reorder hideRefs co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
strbuf: make st
r
b
uf_addftime more robust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
Jeff
K
i
ng
che
c
k_and_freshen_
f
i
le
:
fix reve
r
sed
s
ucce
s
s-ch
e
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jeff K
i
ng
rev-lis
t
: disable --
u
se-bitma
p
-
i
ndex
when pruni
n
g
commit
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
J
e
f
f
King
int
r
oduce "
f
orm
a
t" da
t
e-mode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
convert "e
n
um date
_
mo
d
e" in
t
o a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff Ki
n
g
show-b
r
anch: use DATE_RELATIVE i
n
stead of magic number
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
Jeff
K
ing
cat
-
file: sort
a
nd de-dup outpu
t
o
f
--batch-all-objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
Jeff
King
r
e
ad
_
g
itfile_gently:
f
ix u
s
e
-after-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-fi
l
e
:
add
-
-b
a
tch-al
l
-object
s
option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jef
f
King
c
a
t-fil
e
: split
b
a
tc
h
_one_ob
j
ect
i
nto two
s
tages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff
K
ing
c
at-
f
ile:
stop returning value fro
m
ba
t
ch_one
_
object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: add -
-
b
u
ffer optio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: move
batc
h
_
opt
i
ons def
i
nition to top
of f
i
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff K
i
n
g
cat-file: minor style
f
ix in opt
i
ons li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
for_each_packed_
o
bject:
automatically open p
a
ck index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-17
Je
f
f King
docs: clarify tha
t
--encoding
c
a
n
produce
invalid sequences
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-16
J
eff Ki
n
g
pkt-line: support tracing verbatim pack contents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff Kin
g
pkt-li
n
e: tighte
n
sideband PACK c
h
eck when tracin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
K
ing
pk
t
-line:
s
implify starts_w
i
th checks in packet traci
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff Ki
n
g
Revert "stash
:
r
e
quire a clean i
n
dex to apply"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-09
J
e
ff King
in
d
ex-pack
:
avoid
e
x
cessive re-reading of pack d
i
r
e
ctory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-04
Jef
f
K
ing
index
-
pack: fix tru
n
catio
n
of off
_
t
in comparis
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-03
Jeff King
ewah
:
use less
g
eneric mac
r
o name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
ing
suppr
e
ss
e
rrors on
m
i
s
sing UNINTERESTIN
G
links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff King
silence brok
e
n
lin
k
warnin
g
s
with revs->igno
r
e
_
missing_links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Je
f
f King
a
dd quieter versions of parse
_
{tr
e
e,c
o
m
m
it}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff
K
ing
se
t
up_git_dire
c
tor
y
: d
e
la
y
core
.
bare/core
.
wo
r
ktr
e
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Makefile:
s
ilence perl
/
PM
.
stamp recipe
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
M
a
kefile
:
avoid timestamp updates to GIT-BUILD-OP
T
IONS
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
M
akefile: drop dep
e
ndency betwe
e
n gi
t
-inst
a
web and
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-28
Jeff Kin
g
config
.
c
: rewr
i
t
e
E
NO
D
EV into EISDIR
w
hen mmap fails
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-28
Je
f
f King
c
o
nfig
.
c: avoid xmmap error messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-28
Jeff King
c
o
nfig
.
c: fix mmap leak wh
e
n
w
r
i
ting con
f
ig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-28
Jeff
K
in
g
read-cac
h
e
.
c: drop P
R
O
T_WR
I
TE from
m
map
o
f in
d
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next