repo.or.cz
/
git
/
raj.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
connect: reject paths that look like command line options
2015-10-26
Jeff
K
ing
t603
1
: move triple-renam
e
test to t
3
030
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
name-rev: u
s
e strip_suff
i
x to a
v
oid magic n
u
mber
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use s
t
rbuf_
c
ompl
e
t
e to conditionally appen
d
sl
a
sh
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
fsck:
use for_each_loo
s
e_file_in_objdir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
Makef
i
le: drop D_INO_IN_
D
IRENT bu
i
ld knob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
fsck
:
d
r
o
p
inode-
s
or
t
ing code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
King
convert strncpy
to memcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
notes: document
l
ength of
fano
u
t p
a
th wit
h
a
c
on
s
t
a
n
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
c
olor:
add color_se
t
he
l
per for c
o
pying
raw colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
prefer mem
c
py to strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
help
:
cle
a
n up kfmcli
e
n
t munging
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
receive-
p
ack
:
si
m
plify keep
_
a
r
g computation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
avoid
sprintf and strcpy with
f
l
e
x
a
rrays
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
use alloc_ref rather tha
n
hand-allocatin
g
"struct
r
ef"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
color: add ove
r
flow checks for pa
r
sing colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
drop strcpy in favo
r
of r
a
w sha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff
King
use sh
a
1_t
o
_hex_r() inst
e
ad of strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
daemon: use cl
d
->env_array when
re-spawning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
sta
t
_tracking_info: convert
to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
http-p
u
sh: u
s
e an
argv
_
array for setup_revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff
K
ing
fetch-pa
c
k:
u
s
e
argv_ar
r
ay for index-
p
ack / un
p
ack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
diagno
s
e
_
inval
i
d_in
d
ex_path
:
use
strbuf to av
o
id strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
in
g
w
r
ite_lo
o
se
_
o
b
ject:
c
onvert t
o
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
remov
e
_leading_p
a
th: use a str
b
u
f for internal s
t
orage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
enter_repo: convert fixed-size buffers to strbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
K
in
g
merge-recursive: convert
malloc / strcpy to
s
trb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
transport: use strbufs for
s
tatus t
a
ble
"
quickref"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
apply
:
c
onv
e
rt root string to s
t
rb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
init: use strbufs to sto
r
e paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
probe_u
t
f8_pathnam
e
_compos
i
t
i
on: use inte
r
n
al strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
preco
m
pose_utf8: drop
u
nuse
d
varia
b
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-28
J
eff
K
ing
m
er
g
e-file: enforce MAX_X
D
IFF_SIZE on
incoming files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-28
Jeff K
i
ng
xd
i
f
f
: r
e
ject
f
iles larger than ~1GB
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-28
J
e
f
f
King
react
t
o errors in xdi_diff
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
transport:
refa
c
tor protocol w
h
itelis
t
code
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
sha1_get_pac
k
_name: use a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
http-walker: s
t
o
r
e
url in a strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
Ki
n
g
h
t
tp-
p
ush: use strbuf ins
t
ead of
fwrite_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remote-ext: si
m
plify
git
p
kt-line generation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
upl
o
ad-a
r
c
h
i
ve: conv
e
rt spr
i
ntf to s
t
rbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
reso
l
ve_re
f
: us
e
strbufs
f
or in
t
ern
a
l buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
read_remotes_file:
s
implif
y
string ha
n
dl
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
ad_branches_file: si
m
plify s
t
ring h
a
ndling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailmap: replace strcpy
w
ith xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f Ki
n
g
help: drop prep
e
n
d
function
i
n favor o
f
xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
ref-fil
t
er:
d
rop sprintf and strcpy calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
u
s
e strip_suffix and xstrfmt to
r
e
p
lace suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
etc
h
: repl
a
ce sta
t
ic buffer wit
h
xstrf
m
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
con
f
ig: u
s
e
x
strfmt in
n
ormaliz
e
_v
a
lue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
replace trivial malloc + sprin
t
f
/ strcpy c
a
lls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receiv
e
-pack: convert
s
trncpy to xsnprintf
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 xs
n
p
rintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
a
d
d_packed_git: convert strcpy into xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ent
r
y
.
c
: convert strcpy to x
s
nprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep: u
s
e xsnprintf to format fai
l
ure m
e
ssage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
compat/hs
t
r
e
rro
r
: co
n
vert sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Kin
g
stop_
p
rogre
s
s_m
s
g: conve
r
t
spr
i
n
tf to
x
snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_
s
hort
_
object_fil
e
n
ame: c
o
nver
t
sp
r
intf
to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
use xsnprintf for generating gi
t
object headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
ar
c
hive-t
a
r
: u
s
e xsnprintf for trivial formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
convert trivial
s
printf / s
t
r
c
py calls
t
o xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
compat
/
in
e
t_nt
o
p:
f
ix off
-
by-one
i
n
i
n
et_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
n
g
test-
d
ump-c
a
che-tree: avoid
o
v
e
rflow of cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
p
r
ogress: st
o
re throughp
u
t di
s
p
lay i
n
a s
t
rbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
t
r
ace:
u
se str
b
uf for quote_cr
n
l output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
ailsplit: make PATH_
M
A
X b
u
f
f
ers dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
i
ng
fs
c
k
: use
strbuf to ge
n
erate alterna
t
e directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add reentrant va
r
ian
t
s
o
f
sha1_to_hex a
n
d find_unique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
str
b
uf:
m
a
k
e
s
trbuf_
c
o
mplete_line more generic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
add git_p
a
th
_
buf helper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add xsn
p
r
intf
h
elper
functi
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fsck: don't fsck alt
e
rna
t
es for connect
i
vity-only
c
heck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
a
r
c
h
i
v
e-t
a
r: fix minor indentation
violation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
mailsplit:
fix FILE* le
a
k in
s
plit_
m
aildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
show-branch: avoi
d
segfault
wit
h
--ref
l
og of
unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-23
Jeff K
i
ng
submodul
e
: allow
o
nly cer
t
ain p
r
o
tocols for su
b
mod
u
le
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-23
Jeff King
trans
p
ort: add a p
r
o
t
ocol-white
l
ist en
v
ironme
n
t vari
a
ble
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-16
J
e
ff
King
blame:
handle
--
f
irst
-
parent
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-08
Jeff King
g
i
t
_connec
t
: clarif
y
conn->use_shell
flag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
git_co
n
nect:
clea
r
G
IT_
*
environment
f
or
s
sh
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
show-bran
c
h: u
s
e a strbuf for reflog descr
i
p
tion
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Ki
n
g
read_info_al
t
ernates: handle paths
l
arger than
P
A
T
H_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
i
n
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
veri
f
y_absen
t
: allow f
i
le
n
ames longer
than PATH_M
A
X
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Ki
n
g
date: make "loc
a
l
"
o
rth
o
gonal to date for
m
at
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff Kin
g
fast-i
m
port: s
w
i
t
c
h crash-report date to iso8601
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff
Ki
n
g
p
a
ck-protocol: cla
r
ify LF-handling
i
n PKT-LI
N
E()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerer
e
: release lockfile in
non-writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff
K
i
ng
p
k
t-li
n
e
:
sho
w
p
ackets in asy
n
c processes as "sideband"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
J
eff King
run-comman
d
: p
r
o
v
i
de in
_
a
s
ync query funct
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
Jef
f
King
log
:
d
iagn
o
se empty HE
A
D mo
r
e
c
learly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jef
f
King
rev-list
:
m
a
ke it
o
bvious that
we do not suppo
r
t note
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config: silence warnings
f
o
r
com
m
and names with inva
l
id
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
King
g
e
t_urlmatch:
avoid useless strbu
f
write
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
ing
fo
r
m
at_config: s
i
m
p
l
ify bu
f
fer handli
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
form
a
t
_conf
i
g: don't init s
t
rbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid interme
d
iate
b
u
ffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
J
eff King
vreportf:
report t
o
arbitrary file
h
andles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize common git-path "c
o
nstant" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path: refactor
p
ath-allocation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next