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
receive-pack: simplify keep_arg computation
2015-10-05
J
e
ff
King
receiv
e
-pack: s
i
mplify keep_arg computation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
avoid sp
r
int
f
and strcpy with flex arrays
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
use a
l
loc_
r
ef rather than
h
and-alloc
a
ting
"struct ref"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
colo
r
: add overfl
o
w checks for parsin
g
co
l
ors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
ef
f
King
drop strcpy i
n
favor of
r
a
w
sha1_to
_
hex
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f King
u
se sha1
_
to_hex_r() inste
a
d of strcpy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
daemon: use cld->e
n
v_array when
re-s
p
awning
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
stat_trackin
g
_info: con
v
ert to argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
J
eff King
h
t
tp-push: use
an argv_ar
r
a
y
for set
u
p_revisi
o
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
f
etch-pa
c
k: use argv_array for index-pack / unpa
c
k
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
diagnose_i
n
valid_inde
x
_
p
ath: use str
b
u
f
t
o
avoid strcpy
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
w
rite_loose_object: convert to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
r
emo
v
e_leading_path: use a strbuf for internal storage
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
en
t
e
r
_repo: conv
e
r
t fixe
d
-size buffer
s
to strbufs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
merge-recursi
v
e:
c
onvert m
a
lloc / strcpy
t
o strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
trans
p
ort: use
strbufs
f
or
s
tatus tabl
e
"quickref
"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
apply: conve
r
t root string to s
t
r
bu
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
init: use strbufs t
o
stor
e
paths
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Kin
g
prob
e
_utf8_pathname_com
p
ositi
o
n: use
i
nte
r
nal strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precompose_utf8: drop unused varia
b
le
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
n
g
sha1_ge
t
_pa
c
k_na
m
e: use a strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
h
ttp-walker:
st
o
re
u
rl in
a
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
http-push:
u
se strb
u
f
inste
a
d of fwrite_buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remote-ext: simplif
y
git pkt-li
n
e gen
e
ration
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
upl
o
ad-ar
c
hive: convert sprintf to strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
resolve_
r
ef:
u
se str
b
ufs for int
e
rnal buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read_remotes_f
i
le: simplify
string
h
a
n
dl
i
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
read_branc
h
es_file
:
s
i
mplify string
h
andling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mail
m
ap: replace
s
trc
p
y
wit
h
xstrdup
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
n
g
h
elp: drop prepend
f
u
nctio
n
in favor of xstrfmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ref-filter: drop sprintf and strcpy c
a
lls
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
use strip_suffix and
x
strfmt to repl
a
ce
suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
fet
c
h:
r
eplace s
t
atic bu
f
fer w
i
th xst
r
fmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config:
use xstrfmt in normalize_value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
replace tr
i
v
ial malloc + s
p
rintf / strcpy
c
alls with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
recei
v
e-p
a
c
k
:
conve
r
t strncpy to xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
h
t
t
p
-push: repla
c
e
st
r
cat with xsnpr
i
n
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
add
_
packed_git:
convert
strcpy i
n
to
xs
n
printf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
e
n
try
.
c:
c
onv
e
rt strcpy t
o
xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
grep: use
x
snp
r
intf to format fai
l
ure me
s
sag
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
compat/hstr
e
r
r
o
r
: c
o
nvert sp
r
int
f
to snprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
stop_progress_msg:
con
v
ert s
p
r
i
n
t
f to
x
snp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
find_short_object_f
i
le
n
ame: conve
r
t s
p
rintf t
o
xsn
p
rint
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
King
us
e
xsnprintf for gener
a
ting gi
t
obje
c
t headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
ar
c
hive-tar: use
x
snprintf for trivial formatting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
convert trivial sprin
t
f / strcpy
c
all
s
t
o
xsnp
r
i
n
t
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
compat
/
i
net_ntop: fix off-b
y
-one in
i
n
et_ntop4
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
test-dump
-
c
a
ch
e
-tree:
a
void o
v
e
r
f
l
ow
o
f cac
h
e-tr
e
e
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
pro
g
ress: store th
r
oughput display
i
n a
s
trbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
ing
trace: use strbu
f
for
q
u
o
te_cr
n
l output
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
ef
f
King
ma
i
lsplit: make
P
ATH_MAX buffers dynamic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
K
ing
fsc
k
: use st
r
buf to generate al
t
e
rnate
d
ir
e
cto
r
ies
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add reen
t
rant varia
n
ts of sha1_to_hex and find
_
unique_abbr
e
v
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
eff Kin
g
strbuf: m
a
ke s
t
rbuf_com
p
l
e
te_l
i
ne
m
ore generi
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path
_
buf h
e
lper function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
add xsnp
r
intf he
l
pe
r
fu
n
c
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
fsck: don't fsck
a
lternat
e
s
f
or
c
o
n
n
e
c
t
ivity-
o
nly check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
a
r
chive-
t
ar:
f
ix minor indentat
i
on
v
iolation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mail
s
plit: fi
x
FILE* leak in split_mail
d
ir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
sho
w
-branc
h
: avoid segfa
u
lt with --reflog of
u
n
b
o
r
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff Kin
g
s
ho
w
-br
a
nch: use a strbuf for
reflog descripti
o
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f King
read
_
info_al
t
ernates
:
handle paths larger than PATH_MAX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
J
e
f
f K
i
ng
notes: us
e
a
s
t
r
buf in a
d
d
_no
n
_note
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
verify_absent: allow filen
a
me
s
longer than P
A
TH_
M
AX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-03
Jeff K
i
ng
pack-pr
o
t
o
col:
clarify LF-
h
a
n
d
ling in PKT-LINE(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerere: release lockfile in non
-
writing
f
unct
i
o
ns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff King
l
og
:
diagnos
e
empty HEAD mo
r
e clea
r
l
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-li
s
t: make it obvious t
h
at we do
not support notes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
co
n
f
i
g: sile
n
c
e
warnings
f
or
c
om
m
and names wit
h
inval
i
d
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
ing
get_urlmatch: avo
i
d useless st
r
buf wri
t
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
J
e
f
f
King
format_config: simplify buffe
r
handling
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f King
format_config: don't init
s
t
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
King
v
reportf: avoid i
n
termediate bu
f
fe
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-11
Jeff Kin
g
vre
p
ortf: report to
arbitrary fil
e
handles
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
m
e
moize common git-path
"c
o
nstan
t
" files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path:
refac
t
or path-all
o
ca
t
i
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
find_hook
:
keep
our own static buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
refs
.
c:
r
emove_empty_dir
e
ctories can
take a
s
t
r
buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
refs
.
c: avoid
git_path assignment in lock_ref_sha1_basic
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
f
s
.
c
:
avoid repeated git_path calls in rename_
t
mp_log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
re
f
s
.
c: simplify
strbuf
s
in reflog
s
etu
p
and
writi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
K
in
g
path
.
c: d
r
op git_path_submodule
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
re
f
s
.
c
: r
e
move
e
xtra git_
p
ath ca
l
ls
from
r
ead_
l
o
ose_refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
remot
e
.
c
:
drop
extrane
o
us lo
c
a
l
variable from
migr
a
te_file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f King
p
r
e
fer mkpat
h
dup to mkpa
t
h in assign
m
ents
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff K
i
ng
prefer
g
it_pathdup
t
o g
i
t_p
a
th in s
o
me possibly-dangerous
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
add_to_alterna
t
es_file: don't add duplic
a
te
entries
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
t5700:
m
odernize
style
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h:
c
o
m
p
le
t
e set of git
_
path
_
submodule helpers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: clarify
document
a
tion for git_path, et al
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clo
n
e: use computed len
g
th in guess_dir_name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
clone: ad
d
tests for output d
i
rectory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
King
tes
t
-lib: disable trace when
test is not verbose
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Je
f
f King
test-lib:
t
urn off
"
-x" tracing during
cha
i
n-li
n
t check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-08-07
Jef
f
King
r
e
fs: suppor
t
negative tra
n
sfer
.
hideRefs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-28
Jef
f
K
ing
docs
/
co
n
fig
.
t
x
t: reorder hideRefs
c
o
n
fig
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-21
Jeff King
strbu
f
: make st
r
buf_addfti
m
e more ro
b
us
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-08
Jeff
K
ing
check_and_fr
e
s
hen_file
:
f
ix reversed success
-
check
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-07-01
Jeff King
re
v
-list: disable --us
e
-bitmap-index when pruning commits
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-06-29
Jef
f
King
introd
u
ce "fo
r
mat" date-mode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next