repo.or.cz
/
git
/
git-svn.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
reflog_expire_cfg: NUL-terminate pattern field
2015-09-25
Jeff Kin
g
replace trivial m
a
lloc + spr
i
ntf / s
t
r
cpy calls with
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receive-pack: c
o
nvert strncpy to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http-push: rep
l
ace strcat with xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
K
i
ng
add_packed_git: convert strc
p
y into xs
n
pri
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
entry
.
c: co
n
vert strcpy
t
o
xsn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
grep:
u
se xs
n
printf to format fa
i
l
u
re message
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
compat/hstrerror: conve
r
t sprintf to snprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
stop_progress_m
s
g: co
n
v
ert sprintf to xsnp
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
find_sho
r
t_objec
t
_
fi
l
ena
m
e:
c
o
nvert sprintf to xsn
p
rin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
u
s
e xsnprintf for gen
e
r
a
ting git object
h
ead
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
a
r
ch
i
ve-tar: use xsnprintf
f
or trivial formatt
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
conver
t
trivial
s
printf / st
r
cpy calls
to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff K
i
ng
com
p
at
/
inet_nt
o
p: fix off-by-one in in
e
t_ntop4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
te
s
t-dump-cache-tree: av
o
id overflow
of
c
a
che-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
p
rogress: store t
h
roug
h
put display
in a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
trac
e
: use st
r
buf
f
or q
u
ote_cr
n
l outpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mailsplit: make PATH_MA
X
b
uff
e
r
s dy
n
a
m
ic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
f
sck: us
e
s
trb
u
f to gener
a
te altern
a
te dire
c
tories
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
a
dd ree
n
t
r
ant va
r
iants of s
h
a1_to_hex and find_unique_abbrev
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
strbuf: make strb
u
f_comp
l
e
te_l
i
ne more generic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
add git_path_buf
h
elper funct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
K
ing
add xsnpri
n
tf helpe
r
functio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
fsck
:
don't fsck a
l
t
e
rn
a
tes for
c
o
n
n
ectivity-only
c
he
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
arc
h
ive-ta
r
:
fi
x
min
o
r ind
e
ntation v
i
ol
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
mailsp
l
it: fix FILE* leak in split_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
show-branch:
a
v
oid segfault with
--reflog of unborn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Jeff
K
i
ng
su
b
module
:
a
l
lo
w
on
l
y certain protocols f
o
r sub
m
odu
l
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-23
Je
f
f K
i
ng
transport: add
a
protocol-whi
t
elist e
n
vironment variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-16
Jeff
K
in
g
b
l
ame: handle --
f
i
rs
t
-
p
arent
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-08
Jeff King
git_connect: cl
a
rify conn->use_shell
f
l
ag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jef
f
King
g
i
t
_
c
onnect: clear
G
I
T_* environ
m
ent for ssh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
show-branch: use a strbuf f
o
r reflog descr
i
ptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
r
e
a
d_inf
o
_alter
n
ates: handle paths larger
t
h
a
n PATH_MA
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
note
s
:
use a strbuf in add
_
non_note
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Je
f
f King
verify_ab
s
ent:
allow fil
e
names
longer
t
han
P
ATH_
M
AX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
J
e
ff Kin
g
dat
e
:
m
ake "
l
ocal" o
r
t
h
o
g
onal
t
o date format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff K
i
ng
fast-import: switch
cra
s
h-r
e
p
o
rt
d
ate
t
o
iso8601
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff
King
pack-pr
o
t
ocol: c
l
arify LF-handling in PKT-LINE()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
J
eff Ki
n
g
rerere: re
l
ease
l
ockfile in non-wr
i
t
i
n
g functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
p
kt-
l
ine: show packets i
n
async
p
rocesses as "s
i
deb
a
n
d"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
run-comm
a
nd: provide in_
a
sync query fu
n
ct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
Jeff King
log: diagnose empty
H
E
AD m
o
re
c
l
ea
r
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Je
f
f
Ki
n
g
rev-l
i
s
t
: make it obv
i
ous
that
w
e
do not suppo
r
t
n
o
tes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff Ki
n
g
config:
silenc
e
w
a
rnings for com
m
and names
w
ith in
v
a
l
id
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f King
get_urlmatch: avoid use
l
ess strbuf
w
rite
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
i
n
g
for
m
at_config: simplify buffer hand
l
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jef
f
King
format_c
o
n
f
ig: don't init s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
J
e
ff King
vrepo
r
tf
:
av
o
id
in
t
ermedi
a
te buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vreportf: rep
o
rt
to
a
rbitrary
filehandles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
m
em
o
ize
common git-path "constant" files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
get_repo_path: re
f
ac
t
or path-allocation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
find_hook:
keep
our own static buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
re
f
s
.
c:
remove_e
m
pty_directories
c
a
n
ta
k
e a st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
refs
.
c: avo
i
d git_path assign
m
e
n
t in lock_ref_sha1_b
a
sic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
re
f
s
.
c: av
o
id repeated git_path calls
i
n ren
a
me_tmp_lo
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
i
ng
ref
s
.
c: simplify
st
r
bufs
in reflog
setu
p
and
writing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
path
.
c:
d
rop git_pat
h
_s
u
bmodul
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
r
e
fs
.
c:
r
emove extra
g
it_path
c
a
l
ls from read_loose_
r
efs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Kin
g
remote
.
c: drop extraneous local
variable from mi
g
rate_file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f K
i
ng
prefer mkpathdup to mk
p
at
h
i
n assig
n
me
n
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer gi
t
_
pathdup
t
o git_path in some possibly-d
a
ngero
u
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
ff King
ad
d
_to_alte
r
nates_file: don't ad
d
duplicate
e
ntries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
t
5
700: moderniz
e
style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f
King
c
a
che
.
h
:
complete set
o
f g
i
t_path
_
s
u
bmodule helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
cache
.
h: clarify documentation for
g
i
t
_pa
t
h
,
e
t
a
l
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone
:
use computed length in guess_
d
ir_name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
clone: add
t
ests for output di
r
ectory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Kin
g
test-lib: disable trace when test
is n
o
t verbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff King
test-lib: tur
n
off "
-
x" tracing during
chain-lint chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff Ki
n
g
refs:
s
upport negative transfer
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
J
ef
f
K
i
ng
docs/con
f
ig
.
t
xt: re
o
r
der hideRefs config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
Jeff
King
strbu
f
: make strbuf_addftime more r
o
bust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
Jeff King
che
c
k_and_freshe
n
_
f
ile: fix rever
s
ed suc
c
ess-check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
J
eff Ki
n
g
re
v
-
list: dis
a
b
l
e --use-
b
itma
p
-
in
d
ex when pruni
n
g commits
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
J
eff King
in
t
rod
u
ce "format" date-mode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
J
e
ff
K
ing
convert "
e
num date_mode
"
into
a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Je
f
f K
i
ng
show
-
br
a
nch: use DATE_RELATIVE in
s
t
e
ad of magic number
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
J
e
ff King
cat-fi
l
e: sort and de-dup o
u
tpu
t
o
f --batch-all-obj
e
c
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-26
Jef
f
Ki
n
g
rea
d
_gitfile_gently: f
i
x
use-after-free
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-25
Jeff K
i
ng
introduce "
p
reciousObjects" r
e
pository extension
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-25
Jeff King
introduce "exten
s
ions"
form
o
f core
.
repositor
y
formatversio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
ca
t
-file: add --b
a
tch-all
-
obje
c
t
s option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jef
f
King
cat
-
file:
s
pl
i
t batch
_
one_object into tw
o
s
ta
g
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
cat-f
i
l
e: stop retu
r
n
i
ng
v
alue
f
rom batch
_
one_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
eff
K
i
ng
cat
-
file:
add --
b
uffer option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff King
ca
t
-
file: move ba
t
ch_option
s
definition to top of file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
Jeff Ki
n
g
cat-file: minor style fi
x
in o
p
ti
o
ns list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-22
J
e
f
f
King
for
_
e
a
c
h_packed_object: automatically
o
pen pack
i
ndex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-17
Je
f
f King
doc
s
:
clarify that --encodin
g
ca
n
produce inval
i
d sequenc
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-16
J
e
ff King
pkt-line: sup
p
o
rt tracin
g
v
e
r
batim pack contents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff King
pkt-line: tigh
t
en sideba
n
d PACK
c
heck when
t
racing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jef
f
King
pk
t
-
l
ine:
simplify starts_with che
c
ks in packet tracin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-15
Jeff King
R
e
vert "stash: req
u
ir
e
a
clean
i
ndex t
o
apply"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-09
Jeff K
i
ng
in
d
ex-p
a
ck:
a
void excessive r
e
-
reading of pa
c
k dire
c
tory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-04
Jeff King
i
n
dex-pack: fix t
r
uncation
o
f
off_t in compari
s
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-03
Je
f
f K
i
ng
ewa
h
: use
le
s
s gener
i
c ma
c
ro na
m
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
ing
suppress errors on missing UNINTERESTING
l
i
nks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
Jeff
K
in
g
sile
n
ce broken li
n
k warnings with revs->ign
o
re_m
i
ssing_links
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-01
J
eff Kin
g
add quieter versions o
f
par
s
e
_
{
t
ree,commit}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-05-29
Jeff King
setu
p
_gi
t
_directo
r
y: delay core
.
bare/c
o
r
e
.
wo
r
kt
r
ee
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next