repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
fsck: use for_each_loose_file_in_objdir
2015-10-05
Jeff King
fsck
:
u
s
e fo
r
_each_loose_f
i
le_in_objd
i
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
Makef
i
le: dr
o
p
D_INO_IN_DIRENT build k
n
ob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
fsck: drop inode-sorti
n
g c
o
de
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
convert strncpy to
m
e
m
cpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
notes:
d
ocum
e
nt l
e
ng
t
h of
fan
o
ut pat
h
with a
c
onstant
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff
K
ing
color: add
color_set h
e
lper for co
p
ying r
a
w
c
o
lo
r
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
p
r
efer m
e
m
c
py to strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
h
elp: clean up kfmclien
t
mu
n
ging
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
receive-pa
c
k: si
m
pl
i
fy keep_arg computa
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
av
o
id sprintf a
n
d strcpy w
i
t
h flex arr
a
y
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
us
e
alloc_ref rat
h
er than hand-allocatin
g
"struct
r
ef"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
color: add overflow
c
h
ecks
for parsin
g
colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f Ki
n
g
d
r
o
p
strcpy in favor of ra
w
sha1_to_hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
use
s
ha1_to_hex_r() i
n
stead of strcp
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
daemon: use cld->env_array
w
h
en re-spawning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
stat_
t
racking_info: c
o
nvert to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
htt
p
-pu
s
h: use
a
n
a
r
gv_array for setup_revisions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
n
g
fetch-pack:
u
s
e
argv
_
array for ind
e
x
-pack / unpack
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
n
g
di
a
gnose_
i
nvalid
_
i
ndex_
p
at
h
: use strbuf to avoid strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
write_loo
s
e_object: conve
r
t to strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
remove_leading_path: use a strbuf for internal
storag
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
ent
e
r
_
repo
:
convert f
i
x
ed-s
i
ze buffers to
s
trbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-recursive: convert malloc / strcpy to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
Kin
g
tra
n
sport: use strbufs for sta
t
u
s
t
a
ble "quickref"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
Kin
g
apply
:
convert root string
to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
init:
use strbufs
to store paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
probe_utf8_pathnam
e
_composi
t
ion: us
e
inter
n
al strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
prec
o
mpose_utf8: drop unused v
a
riable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
sha
1
_
g
e
t_
p
ack_name: use a
strb
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
ttp-walker: store url in
a
s
t
r
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
htt
p
-p
u
sh
:
use strbuf
ins
t
ead of fwr
i
te
_
buffe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
re
m
ote-ext: simpli
f
y git pkt-line g
e
neration
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
upload-ar
c
h
i
ve:
c
on
v
ert spr
i
n
tf to
s
tr
b
uf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
i
n
g
resolve_ref: use strbufs fo
r
internal
b
uffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff
King
read_r
e
m
o
tes_file: simplify string h
a
ndling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read_b
r
anches_
f
ile:
s
implify str
i
ng h
a
ndling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
m
ailmap: re
p
lace strcpy
w
i
th xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
h
elp: drop prepe
n
d f
u
nction in favor of
xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
f
-fi
l
ter: dr
o
p sprintf and st
r
cp
y
calls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
use
strip_suffix and xstrfmt to replace suf
f
ix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fetch
:
replace static bu
f
fer
w
it
h
xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: use xstr
f
mt in normalize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Ki
n
g
replace triv
i
al malloc +
sprint
f
/
strcpy calls wi
t
h
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
receive-p
a
ck: convert
strncpy to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-
p
ush: r
e
place strcat with
x
snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Ki
n
g
add_packed_git: convert
s
trcpy i
n
t
o xs
n
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
e
ntry
.
c: conv
e
r
t
strc
p
y to x
s
n
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
g
rep: use xsnprintf to format failure message
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
co
m
pat/hstrerr
o
r: convert sprintf to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
stop
_
p
r
o
g
res
s
_msg: c
o
nvert sprintf to xsnp
r
int
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_short_ob
j
e
c
t
_filena
m
e
: conv
e
rt sp
r
int
f
to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f Kin
g
use xsnpri
n
tf for
g
e
n
era
t
ing
g
it o
b
j
e
ct headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
archive-t
a
r: use xsnp
r
intf
for trivial formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert
trivial s
p
r
i
n
tf / strcp
y
calls to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
comp
a
t/ine
t
_n
t
op: fix
o
ff-
b
y-
o
ne in inet_n
t
op4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
test-dump-cache-tree:
a
void
overflow of
cache-tree
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progre
s
s
:
store t
h
ro
u
ghput display in a str
b
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use strbuf for quote
_
c
r
nl
out
p
u
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
m
ailsplit: make PATH_MAX buffers
dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fsck: use strb
u
f to
g
enerate alt
e
rnate directories
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
add reentrant variants of sha1
_
to_hex and find_unique_abbrev
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
t
rb
u
f
:
make
s
trb
u
f_complete_line
m
o
re generic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
in
g
add git_path_buf helper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff Kin
g
add xsnprintf helper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
f
sck: don
'
t fsck
a
l
t
ernates for con
n
ect
i
vity-only ch
e
ck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
a
r
chiv
e
-
t
ar: fix minor
indentati
o
n violation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mail
s
p
lit: fix FILE* leak i
n
split_maildir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
sh
o
w
-bran
c
h
:
avoid
s
eg
f
ault with
--refl
o
g of unborn
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
show-
b
r
anch: use a
s
trbuf for reflog descriptions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
read_info_alterna
t
es: handl
e
paths large
r
than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
eff King
n
otes: use a str
b
uf in add_non_no
t
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_absen
t
: a
l
low f
i
l
e
names longer t
h
an PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack
-
protocol: clarify
LF-ha
n
dlin
g
in PKT-LINE()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Je
f
f King
re
r
ere: release lock
f
ile
in no
n
-writing functions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
eff King
log: dia
g
n
o
se empty
H
E
AD more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-list: m
a
ke it obvi
o
u
s that we do not support notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config: silence w
a
rnings for co
m
mand names with
invalid
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
ef
f
King
get_urlmatch: a
v
oid us
e
less strbuf writ
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
f
o
rmat_
c
onfig:
simplif
y
bu
f
fer handl
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
f
orma
t
_
config: don't in
i
t
strbu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: avoid intermediate buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: report to arb
i
trary filehandle
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
memoize co
m
mon git-pat
h
"constant"
files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path
:
refa
c
tor path-
a
llo
c
a
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
n
g
find_hook: k
e
ep our
o
wn
s
t
a
t
ic buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
refs
.
c: remove_empty_dire
c
tori
e
s can
take a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
ef
f
King
refs
.
c: avoid git_path assignment in
l
ock
_
ref_sha1_basi
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
refs
.
c: avo
i
d repeated git_pa
t
h calls in
r
e
n
ame_tmp_log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
refs
.
c:
s
imp
l
ify s
t
r
bufs in reflog
s
etup and writing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
path
.
c: drop git_pa
t
h_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
refs
.
c: remove extra
git_p
a
th calls f
r
om read_l
o
o
s
e_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
r
e
mote
.
c: drop extra
n
eous local var
i
able f
r
om migrate_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
prefer
mkpath
d
up to
mkpath in assignments
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefe
r
git_pathdup
to gi
t
_pa
t
h
i
n some possibly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_to_al
t
ernates_file: do
n
't
add d
u
plicate entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
t570
0
: modernize style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h
: complete
set of git_pa
t
h_s
u
b
m
odule
helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
cache
.
h: clarify doc
u
mentation for git_pa
t
h, et
al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
c
l
one: use co
m
puted l
e
ngth
in
g
u
ess_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
clone: ad
d
te
s
ts for output directory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next