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
use st_add and st_mult for allocation size computation
2015-09-25
J
e
ff King
upl
o
ad-archive: convert s
p
rintf t
o
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
resol
v
e_ref: u
s
e strbufs for inter
n
a
l
buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff K
i
ng
read_rem
o
tes_file
:
simplify strin
g
hand
l
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
rea
d
_branches_file: simplify stri
n
g
h
andling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
mailma
p
: r
e
pla
c
e
strcpy wit
h
xstrdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
help: drop prepend function in favo
r
o
f
xstrfm
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
ref-f
i
lter: drop spr
i
ntf an
d
strcpy call
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Ki
n
g
use s
t
r
ip_suffix and xstrfm
t
to repla
c
e suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
Ki
n
g
fe
t
ch: replace static
b
uffer with xst
r
fmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
c
onfig:
u
se xstrfmt
in normalize_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
replace tr
i
vial mal
l
oc + sprintf / str
c
p
y c
a
lls w
i
t
h
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receive-pack:
c
o
n
v
ert
s
trncpy t
o
x
snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
http-push: replac
e
strca
t
with xsnp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
add_p
a
c
k
ed_git: c
o
nvert
st
r
c
py in
t
o
x
snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
entry
.
c: con
v
er
t
strc
p
y to xsnpri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
grep:
u
se xsnprintf t
o
format
f
a
ilure
messa
g
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat/h
s
trerror: conve
r
t
sp
r
intf
to snp
r
i
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
st
o
p
_pro
g
re
s
s_msg: convert spri
n
tf to xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
find_short_object_filename: convert sprintf to xsnprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
u
s
e
xsnprintf for ge
n
e
r
a
t
ing
g
it obj
e
ct headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
rchive-tar:
u
se xsnprintf for tri
v
ial formatting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
King
con
v
e
rt trivia
l
s
p
rintf / strc
p
y
c
alls to
xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
Kin
g
compat/ine
t
_n
t
op: fix o
f
f-b
y
-one in in
e
t
_ntop4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
tes
t
-dump
-
cache-tree: avoid overflow of cache-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
progress: store
t
h
roughpu
t
di
s
play
in a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
trace: use strbuf for quote_
c
r
n
l output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
mails
p
lit: make PA
T
H_MAX buffers dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
f
s
c
k: use
s
trbuf
t
o
gener
a
te alt
e
r
nate direct
o
r
ies
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
ng
a
dd r
e
entra
n
t variants of sha
1
_
t
o_
h
ex and f
i
nd_unique_abbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
strbuf
:
make strbu
f
_complete_li
n
e more gener
i
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
add
g
i
t_pat
h
_
buf helper fun
c
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
add
x
snprintf hel
p
er function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
s
c
k
: don
'
t
fsck alternates for co
n
nectivi
t
y
-
only check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
arch
i
ve-
t
ar: fi
x
m
inor in
d
e
ntation
v
iolation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
i
ng
mail
s
plit: fix FILE* leak in split_mail
d
ir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
show-branch: avoid
segfa
u
lt wit
h
-
-r
e
flog of unborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Je
f
f King
submodule: allo
w
only cer
t
ain
pro
t
ocols
f
o
r sub
m
od
u
le
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
J
e
ff King
transpo
r
t: a
d
d a p
r
otoco
l
-w
h
itel
i
st
enviro
n
ment
v
a
r
iable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-16
J
e
ff King
blam
e
: handle
-
-fi
r
st-parent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-08
Jeff Ki
n
g
git
_
connect:
cl
a
rify c
o
nn->use_she
l
l flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff Ki
n
g
git_connect: cl
e
ar
G
IT_
*
environme
n
t
for ssh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
show-br
a
nch: use
a strbu
f
for reflog
d
es
c
riptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
e
ff King
read_info_alte
r
na
t
es: h
a
n
dl
e
paths larger t
h
an PATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Ki
n
g
notes:
u
se a
s
t
rb
u
f in
a
dd_non_
n
ote
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
J
eff
King
v
e
rify_absent: allow filena
m
es longer than
P
ATH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
dat
e
: make "loc
a
l
"
orthogonal
t
o date format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
fast
-
i
mport:
s
w
itc
h
cra
s
h-
r
eport
d
a
t
e
t
o
iso8601
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jef
f
Ki
n
g
pack-protocol: cl
a
rify LF-h
a
n
d
li
n
g in P
K
T-LINE(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
e
ff K
i
ng
rerere: release lockfile in n
o
n
-writin
g
functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff K
i
ng
pkt-line
:
show packets in async processes
as "sideban
d
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
run-command: prov
i
de in_a
s
yn
c
query functio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log:
d
ia
g
nos
e
empty HEAD m
o
re clear
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
re
v
-
list: make it obv
i
ous
that we
d
o
not support
n
otes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Kin
g
c
o
nfig: silence
w
arnings for command nam
e
s wi
t
h inv
a
l
i
d
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f
K
ing
get_urlmatc
h
: avoid useless str
b
uf w
r
ite
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff Ki
n
g
format_config: simplify buffer handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
King
format_con
f
ig: don
'
t init strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: a
v
oid intermediate buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf:
r
eport t
o
arbitrary
filehandles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
m
emoize c
o
mmon git-path "cons
t
a
n
t" f
i
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
get_
r
ep
o
_path: refactor path-allocation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
f
i
nd_hook: k
e
e
p
our own static buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
efs
.
c
:
remove_empty_directori
e
s
can take a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
n
g
refs
.
c: avoid g
i
t_p
a
th
a
ssi
g
nment in lock_ref_sha1_ba
s
ic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
refs
.
c: avoid
r
epeated
g
it_p
a
th calls
in rename_tm
p
_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff Ki
n
g
refs
.
c: sim
p
lif
y
st
r
buf
s
in refl
o
g
s
etup and writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: dro
p
git
_
path_sub
m
odule
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
r
e
f
s
.
c:
r
emo
v
e extra git_pa
t
h cal
l
s
from read_loose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
m
ote
.
c: drop extraneous local variable from mig
r
ate_f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
pr
e
f
er mkpat
h
dup to mkpath in assignments
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
pre
f
er
git
_
pathdup to git_path in
s
ome possibly-dangerous
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_to
_
alternates_file: don't add d
u
plic
a
t
e entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
t5700: mod
e
rnize style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: co
m
plet
e
s
et of git_path_su
b
m
o
dule help
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
Ki
n
g
cac
h
e
.
h: clarify documentation
f
o
r
g
i
t_pa
t
h, et
a
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f
K
i
ng
clone:
u
s
e
computed length in guess
_
d
i
r_name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
cl
o
ne: add tests for output
d
irectory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib: disable trace whe
n
t
est is not verbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
te
s
t-lib: tu
r
n o
f
f "-x" tracing during chain-lint check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Kin
g
re
f
s: suppor
t
n
egative trans
f
er
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Jeff King
docs/c
o
nfig
.
tx
t
:
reor
d
er hi
d
eRefs co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
Jeff
K
ing
strbuf:
m
ake strbuf_addft
i
me more r
o
bust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
check_and_
f
reshen_file: fix re
v
ersed s
u
ccess-check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jef
f
King
rev-l
i
st:
d
isable --us
e
-b
i
tmap-index w
h
en pruning com
m
its
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
J
e
ff King
introd
u
ce "format" date-mode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff
K
ing
c
o
n
v
e
rt "enum date_mod
e
" into a
s
t
ruct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Jeff King
s
h
ow-branch: use DATE_RELATIVE instea
d
o
f mag
i
c number
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
e
ff King
cat
-
file: sort and de-dup ou
t
put of
-
-batch-all-
o
bjects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
eff K
i
ng
read_g
i
tfile
_
gent
l
y: fix use-after-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-25
J
e
ff
K
ing
intr
o
duce "pre
c
iousObjects" repository ext
e
nsion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-25
Je
f
f King
int
r
oduce "extensions" form of core
.
repositoryformatversion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
f
f King
cat-fil
e
: add --
b
atch-all-objects o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff
King
cat-file: split
b
atch_one_object int
o
t
w
o stages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat
-
file: stop returning value
f
rom
b
atc
h
_one
_
obj
e
c
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: add
--buf
f
er option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: move batch_options definition to top of f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
eff King
cat
-
file:
minor st
y
l
e fix
i
n optio
n
s
li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
for_each_packed_o
b
ject: automatically op
e
n pa
c
k
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-17
Je
f
f Kin
g
do
c
s
:
cl
a
rify th
a
t --enco
d
ing can pro
d
uce invalid sequen
c
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-16
Jeff
Kin
g
pkt
-
line: support
tr
a
cing verba
t
im pack co
n
tents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next