repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use st_add and st_mult for allocation size computation
2015-09-25
Jef
f
King
upload-archive:
c
onv
e
rt sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Kin
g
resolve_ref:
u
s
e
strbufs for internal buf
f
ers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
rea
d
_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 Ki
n
g
read_bra
n
ches
_
fil
e
: simplify string ha
n
d
l
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
ailm
a
p: rep
l
ac
e
s
t
r
c
p
y
wi
t
h xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
help:
d
rop pr
e
p
e
nd fu
n
ction
i
n
favor of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
ref-filter: dro
p
sp
r
intf an
d
strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
use
s
tr
i
p_suffix and x
s
trfmt to
r
eplace suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
fe
t
ch:
replace static
buf
f
er with x
s
trf
m
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: u
s
e xstrfmt in normal
i
ze_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
replace trivial malloc +
sprintf / strcpy c
a
lls
with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
receive-p
a
ck:
c
onver
t
s
t
rncpy
to xsnpr
i
nt
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
htt
p
-
push: replace
s
t
r
cat with xsn
p
rint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
add_packed_git: convert strcpy
into
xsn
p
rin
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
e
n
try
.
c
:
convert strcp
y
to xsnp
r
i
n
tf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Ki
n
g
grep: use xsnp
r
in
t
f
t
o
format fa
i
lure message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/hstrerror: conver
t
sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
t
o
p_
p
rogress_m
s
g: convert spr
i
ntf
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
f
ind_shor
t
_
o
bje
c
t
_
filename: convert sprintf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
K
i
ng
use xsnp
r
i
n
tf
for
g
enera
t
ing git ob
j
ect headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
archive-tar: us
e
xs
n
pri
n
tf for t
r
i
v
ial forma
t
t
ing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
Kin
g
c
onvert trivial sprintf / strcpy calls to xsnp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
com
p
at/inet_ntop: fix
o
ff-by
-
one in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
tes
t
-
d
u
mp-cach
e
-
t
ree
:
avo
i
d overfl
o
w of cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
progress: sto
r
e throughput di
s
play in a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trac
e
: use strb
u
f f
o
r quote_
c
r
n
l output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
mailsplit: make PATH_MAX buff
e
rs dynam
i
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
fsck: use str
b
uf to
generate al
t
e
rnate directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
ad
d
r
e
e
ntrant variants of sha
1
_t
o
_hex and find_unique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
strbuf: mak
e
s
tr
b
uf_c
o
mp
l
ete_line more generic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
add git_path_buf
h
elper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add xsnprintf
helper fun
c
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fsc
k
: don't fsck
alternates for
connec
t
iv
i
ty-only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-
t
ar: fix mino
r
inde
n
tat
i
on violation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
n
g
mail
s
plit
:
fix FILE*
l
eak in split_mail
d
ir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
s
how-b
r
anch: a
v
o
id seg
f
a
ult
w
ith
--reflog of unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-23
Jeff King
submodule: allow only certa
i
n
p
roto
c
ols for submodule
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-23
Jeff King
transpo
r
t: add
a
protocol-whitelist environment variable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-16
Jeff K
i
ng
bl
a
me: handle --
f
irst-pare
n
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-08
Jeff King
git_connect: clarify
c
onn-
>
use_
s
hell f
l
ag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
git_conne
c
t:
c
lea
r
GIT_* environment
f
or ss
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f King
show-branch: use a
strbuf for reflog
d
escript
i
ons
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_i
n
fo_
a
lternate
s
: handle paths larger than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
notes: u
s
e a strbu
f
in add_non_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_absent: allow fi
l
enames long
e
r than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
dat
e
:
make
"
local" ortho
g
onal to date format
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
fast
-
import: switc
h
crash-report
date to iso8601
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-protocol
:
clarify LF-handling
i
n P
K
T
-
LIN
E
()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Je
f
f King
rer
e
re: release
lockfile in non-wr
i
ti
n
g fun
c
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff K
i
ng
pk
t
-line: show packe
t
s in
async processes as
"
sideband"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
J
eff King
ru
n
-command: p
r
ovide in_async query function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff Ki
n
g
log: diagnose empty HEAD
m
ore clear
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-
l
i
st
:
make
it
ob
v
ious that
w
e
do not s
u
pport note
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff K
i
ng
config: silence
warn
i
ngs fo
r
comma
n
d name
s
with
invali
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
g
et_
u
rlm
a
tch: av
o
id usele
s
s strbuf wri
t
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
eff King
format
_
config: simpli
f
y buffer
h
andling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_config: don't ini
t
str
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
King
vreportf
:
avoi
d
int
e
rmediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
K
in
g
vreport
f
: report
t
o arbitra
r
y
filehan
d
les
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
memoize comm
o
n
git-path "cons
t
ant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
get_repo_path: refactor path-allocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
f
i
nd_hook:
k
e
ep our own
s
t
atic
b
uffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c: remove_empty_director
i
e
s
can take a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
efs
.
c:
a
void git_
p
ath
a
ss
i
gnment
in lock_ref_sha1_basic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
refs
.
c: avoid repeate
d
git_path c
a
l
ls in rename_tm
p
_
log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
r
efs
.
c: simplif
y
strbu
f
s in reflo
g
se
t
u
p
and writing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
pat
h
.
c
:
d
rop g
i
t_path
_
submod
u
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
r
e
move ext
r
a g
i
t_pa
t
h calls from re
a
d_loose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff K
i
n
g
remote
.
c:
dro
p
extraneo
u
s local variable from
m
igrate
_
f
il
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
prefer m
k
pathdup
t
o
mkpath in assig
n
ments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
prefer git_pathdup to gi
t
_path in so
m
e possibly-
d
an
g
er
o
us
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
Ki
n
g
add_t
o
_alternate
s
_
f
i
le:
don't add duplicate entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
t5700: modernize st
y
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
c
a
c
he
.
h: complete s
e
t of git_path_subm
o
dule helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
cache
.
h
:
clarify d
o
c
u
mentation for git
_
path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
c
l
o
ne:
u
s
e co
m
puted l
e
n
gth in g
u
ess_dir_nam
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
c
lon
e
:
add tests
for ou
t
put
d
ire
c
t
ory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff K
i
ng
test-
l
ib:
d
i
s
able trace wh
e
n
t
e
s
t is n
o
t verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
J
e
ff K
i
ng
test-li
b
: tu
r
n off "-x" tracing duri
n
g
chain-l
i
nt check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
r
e
f
s
: s
u
pport negativ
e
tr
a
n
s
fer
.
hide
R
efs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff
K
ing
docs/config
.
t
x
t: reorder hideRefs config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
s
trbuf: make strbuf_a
d
dft
i
me
m
ore robust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jef
f
King
check_and_freshen_file: fix reve
r
sed success-
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
J
eff King
rev-list:
di
s
able --use-
b
itmap-index when pruni
n
g commits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
J
ef
f
King
introduce
"
f
o
rmat"
da
t
e-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff
King
convert "enum date_
m
ode" into a stru
c
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jeff Kin
g
show-branch: use DATE_R
E
LATIVE in
s
te
a
d of
magic number
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff Kin
g
c
a
t-file: sor
t
a
nd
d
e-dup output of --
b
atch-all-objects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff Ki
n
g
re
a
d
_
gitfile_
g
en
t
ly: fix
u
s
e-a
f
ter-free
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-25
Jeff King
introduce "preciousO
b
jects"
r
ep
o
sitory extens
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-25
J
e
ff
Kin
g
intro
d
uce "extensions" form of core
.
reposit
o
ryforma
t
version
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff Kin
g
cat-file: add --batch-al
l
-objects option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff K
i
ng
cat-file: split ba
t
c
h_one_obj
e
ct int
o
two stages
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff
King
cat
-
file:
sto
p
returning
v
alue from
b
atch_one_object
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jef
f
K
ing
cat-f
i
l
e
:
ad
d
--buffer option
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat
-
file: mov
e
batch_opt
i
ons
d
efinition
to top of file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: min
o
r style fix in op
t
ion
s
list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jef
f
K
i
n
g
for_e
a
ch_packed_object: autom
a
t
i
cally open pack index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-17
Jeff King
d
o
c
s: clarify that -
-
encoding ca
n
produc
e
invalid
sequences
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-16
Jeff King
p
k
t-line: supp
o
rt
t
r
a
cing
v
erb
a
tim pack conte
n
ts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next