repo.or.cz
/
git
/
debian.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
replace trivial malloc + sprintf / strcpy calls with xstrfmt
2015-09-25
J
e
f
f
K
i
ng
replace tri
v
ial ma
l
loc + s
p
rintf / s
t
rcpy
calls wit
h
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f
King
receive-
p
ack: convert strncpy to
x
snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
http-push
:
re
p
la
c
e
s
t
rca
t
with xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
in
g
add_p
a
cked_git: conver
t
strcpy in
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
n
g
entry
.
c: convert
s
trcpy
to xsnp
r
in
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
g
rep: use xsnprintf to
f
ormat failure messag
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
compat/hstr
e
rror: c
o
nvert sprintf t
o
snp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
stop_progress_msg: co
n
vert
s
printf to
x
s
n
pr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
fin
d
_short_object_filen
a
me: convert s
p
r
i
ntf to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
u
s
e xsnprintf
f
o
r
g
enerating git object headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-
t
ar: use
xsnp
r
i
n
tf
f
or trivial
fo
r
matting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert trivial sp
r
intf /
s
trcpy calls to
x
snpr
i
ntf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
compat/inet_ntop: fix
off-by-one in inet_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
test-dump-
c
a
c
h
e-tree:
avoid overfl
o
w
o
f
ca
c
he-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
progress: store through
p
ut di
s
play in
a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace:
use strbuf f
o
r qu
o
te_
c
rnl output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
mailsplit: make PATH_MAX buf
f
ers
d
ynam
i
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
i
n
g
fsck: use strbuf to g
e
nera
t
e
alternate directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ad
d
r
e
entrant variants
o
f
sha1_to
_
h
e
x and find_
u
nique_abbr
e
v
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
s
t
r
buf: make strbuf_complete_line more gen
e
ric
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
add
g
i
t_path_buf helper functio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
add
x
s
nprintf hel
p
er function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck: don't fs
c
k
al
t
e
rnates fo
r
con
n
e
c
t
i
vity-only check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
rchive-
t
ar:
f
ix mi
n
o
r
indenta
t
ion viola
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
m
a
ilspl
i
t: fix FILE* leak in split_mai
l
dir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
show-br
a
nch
:
a
void segfault wit
h
-
-
reflog o
f
unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show
-
branch: use a strb
u
f
for
reflog de
s
criptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
re
a
d
_info_al
t
er
n
ates: handle paths larger
t
han PA
T
H_M
A
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f
King
notes: u
s
e a strbuf in
a
dd_non_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
ver
i
fy_absent: allow filenames longer t
h
a
n PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-prot
o
col: cla
r
ify LF-handling in PKT-LINE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff K
i
ng
rerere: r
e
l
e
ase
l
o
ckfile in no
n
-writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jeff Ki
n
g
log
:
diagn
o
se em
p
ty HEAD
mor
e
c
l
e
arly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-l
i
st: ma
k
e it obvious
t
hat
w
e do not support no
t
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
conf
i
g: silence warnin
g
s for
c
ommand names wi
t
h
invalid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff Ki
n
g
get_urlmatc
h
: avoid useless strbuf write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
King
format_config: sim
p
lify bu
f
f
e
r h
a
ndling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
ff K
i
ng
for
m
at_config: don't init strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
v
r
e
po
r
tf: avoid int
e
rmediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: rep
o
rt to arbi
t
rary filehandles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
m
e
m
oize com
m
on git-path
"constant"
files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
n
g
get_
r
epo
_
p
at
h
: refa
c
tor pa
t
h-
a
ll
o
cation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
King
f
ind_hoo
k
: ke
e
p our
own static buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c: remo
v
e_em
p
ty_di
r
ectories c
a
n take a
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
refs
.
c
:
av
o
id git_
p
ath assignm
e
nt in lock_ref_sha1_basi
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
r
e
fs
.
c
:
avoid repeated git_
p
ath c
a
lls
in
r
en
a
me_tmp
_
lo
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c:
simp
l
i
fy strbufs in
reflog setup
and wr
i
ting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f Ki
n
g
p
a
th
.
c:
d
rop
git_
p
a
t
h_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
r
e
fs
.
c: remove e
x
tra git_path
c
alls from rea
d
_l
o
ose_r
e
fs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff
K
in
g
remote
.
c: drop extraneous
l
ocal vari
a
ble from migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
pref
e
r
m
kpat
h
d
up to
mkpath in assign
m
e
n
ts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
n
g
pre
f
er git_pa
t
h
d
u
p to
git_path in some p
o
ssibly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff
K
ing
add_to_a
l
terna
t
e
s
_file: do
n
't add dupli
c
a
te
entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
t5
7
00: moderniz
e
s
t
y
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
cache
.
h: co
m
ple
t
e set
o
f
g
it
_
pat
h
_submod
u
le h
e
l
p
ers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
cache
.
h:
c
lari
f
y d
o
cumentat
i
on
for git_path
,
et a
l
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone:
use co
m
p
uted leng
t
h in
guess_
d
ir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
clone:
ad
d
t
e
s
t
s for output
d
irectory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib:
d
i
sab
l
e
tra
c
e when
t
est i
s
not
v
erbo
s
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff K
i
ng
test-lib:
turn of
f
"-x
"
tr
a
c
i
ng dur
i
ng
c
hain-lin
t
ch
e
c
k
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
refs: suppor
t
n
e
ga
t
ive tra
n
sfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jeff King
docs
/
config
.
txt: reorder hideRefs config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff
K
ing
strbu
f
: mak
e
s
t
rbuf
_
ad
d
ftime more robust
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
J
eff Ki
n
g
check_and_freshen
_
file: fix rev
e
rs
e
d success-check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
J
e
ff
K
ing
rev-l
i
st: disable
-
-use
-
bitmap-index w
h
e
n pr
u
ning c
o
mmi
t
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jef
f
King
introd
u
ce
"format"
date-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
J
eff
King
convert
"
e
num date
_
mode"
i
nto a st
r
uct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
J
eff Kin
g
show-branch: use DA
T
E_R
E
LATIVE instead of magic numbe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
J
e
f
f
Kin
g
cat-fi
l
e
: s
o
rt
a
n
d de-d
u
p output of -
-
bat
c
h-all-objec
t
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-26
Jeff King
read_gitfile_gently: fix use-after-free
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff Kin
g
ca
t
-
file: ad
d
--batch-all-o
b
jects op
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
e
ff King
c
a
t-fi
l
e: split
b
a
tch_one_o
b
ject into
two sta
g
es
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff Ki
n
g
cat-file: stop r
e
t
u
rning value fr
o
m batch_one_object
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-file: add --bu
f
fer opt
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
J
eff
Ki
n
g
ca
t
-file: mo
v
e ba
t
c
h_op
t
ions definition to to
p
of fil
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-fi
l
e: minor styl
e
fi
x
i
n optio
n
s list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-22
Jeff K
i
ng
for_e
a
ch_pack
e
d_object:
a
u
t
omatically o
p
en pa
c
k inde
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-17
Jeff King
docs: clarify that --encoding can produce invalid sequences
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-16
Jeff
K
ing
pkt-line: support traci
n
g verbat
i
m pack contents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
J
eff King
pkt-li
n
e
:
tighte
n
side
b
and PA
C
K c
h
eck when tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jeff
K
ing
p
kt
-
l
i
n
e: simplify starts_
w
i
t
h c
h
eck
s
in packet tracing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
King
Revert "stash: require a clean
index to
a
pply"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-09
Jef
f
King
i
ndex-pack: avoid
e
xcessive re-reading of pack direct
o
ry
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-04
Jeff
K
i
ng
index-pac
k
: fix tr
u
n
cation
o
f off_t in
compar
i
son
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-03
Jeff Ki
n
g
ewah: use less generic
ma
c
ro name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
in
g
s
u
ppress errors on miss
i
ng UNINTERES
T
ING
links
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
Kin
g
silence
b
roken link warnings w
i
th revs->ignore_m
i
ssing_links
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-01
Jeff Kin
g
ad
d
qu
i
eter ver
s
io
n
s of par
s
e
_
{
t
ree,commit
}
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
setup
_
git_directory: delay
core
.
bar
e
/core
.
worktree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Makefile
:
silence perl/PM
.
s
t
amp recipe
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Makefile
:
av
o
i
d
timestamp updates to G
I
T-BUILD-OPT
I
ONS
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
Makefile: drop dep
e
nd
e
ncy between git-i
n
staweb and
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-28
Jef
f
King
config
.
c: rewri
t
e
E
NO
D
EV int
o
E
I
SDIR wh
e
n mmap
f
ails
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-28
Jeff K
i
n
g
config
.
c: avoid xmmap error m
e
ssages
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-28
Jeff King
con
f
ig
.
c: fix mmap l
e
ak when writin
g
config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-28
J
e
ff Ki
n
g
read-cache
.
c: drop PROT_WRITE fro
m
mmap
o
f index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-27
J
eff King
d
i
ff
.
h: rename DIFF_P
L
AIN color slo
t
to DIF
F
_
C
ONTEXT
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-27
Jeff King
diff: ac
c
ept
c
olor
.
d
iff
.
context
as
a s
y
nonym for "pl
a
in"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-27
Jeff King
t
7
063: hide st
d
err from se
t
u
p inside prereq
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-05-27
Jeff King
clone: reord
e
r --dissoci
a
te
a
nd --reference op
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next