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
Merge branch 'jk/snprintf-cleanups'
2017-04-17
Jeff Kin
g
ref
s
:
reject r
e
f updat
e
s whi
l
e
GIT
_
QUARANTINE_PAT
H
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
receive-pack: doc
u
ment user-
v
i
s
ible
quaranti
n
e effects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Je
f
f Ki
n
g
receiv
e
-
pack: d
r
o
p tmp_
o
bjdi
r
_env fro
m
r
un_update
_
h
o
ok
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff K
i
ng
c
onnect
.
c
:
handl
e
errors from split_cmdline
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
Jeff K
i
ng
index-pack: de
t
ect loca
l
corr
u
ption in collisi
o
n check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
J
e
f
f King
s
h
a
1_loose_ob
j
ect_i
n
fo: return error for
cor
r
upted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jef
f
Ki
n
g
daem
o
n: use a
n
ar
g
v_array
to exec c
h
ildren
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
gc: replace local buffer w
i
th gi
t
_path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
transport-helper: rep
l
ace checked snprintf
w
ith xsnprint
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
convert
u
nchecked sn
p
rintf into xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
c
o
mbine
-
diff: replace mallo
c
/snprintf w
i
th xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
r
eplace unchecked sn
p
rintf calls w
i
t
h
heap buffe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
rece
i
ve-pac
k
: print --pa
c
k-head
e
r direct
l
y into
argv
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff K
i
ng
name-re
v
: repla
c
e stat
i
c buffer w
i
th strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
create_branch: u
s
e
xstr
f
m
t
for reflog m
e
ssag
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
create_branch: move msg setup clos
e
r t
o
po
i
nt of use
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
ing
avoid
u
sing mksnpath for refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
i
n
g
avoi
d
using fi
x
ed
P
ATH_M
A
X buffers for refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Kin
g
fetch: use heap buffer to form
a
t re
f
l
og
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
e
ff King
tag:
use strbuf to format tag header
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Kin
g
dif
f
: avoid fi
x
ed-size buf
f
e
r
f
or p
a
t
ch-ids
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
difftool: avo
i
d strc
p
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-29
Jeff King
Makefil
e
: detect errors
i
n
ru
n
ning sp
a
tc
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
J
eff King
odb
_
mkstemp
:
us
e
git
_
path
_
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f King
odb
_
m
k
stemp
:
write filename
into st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f King
do not check odb_mkstemp ret
u
rn value f
o
r errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
pack
.
h
:
d
e
f
i
ne larges
t
possible enco
d
ed obj
e
c
t size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff Ki
n
g
encod
e
_in_pack_ob
j
e
ct_header
:
respect output buffer
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Je
f
f
Ki
n
g
fast-imp
o
rt: use xsnpri
n
tf fo
r
formatting
headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff Ki
n
g
fa
s
t
-i
m
port: use x
s
nprin
t
f for w
r
i
ting sha1s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Je
f
f King
pager_in_use: us
e
g
i
t_env_bool
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f
K
i
n
g
bundle: use prefix_filename with bundle
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f
K
i
ng
pref
i
x_filename: simplif
y
windows #ifdef
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_filename: return newly alloc
a
t
e
d str
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jef
f
K
ing
prefix_filename:
d
rop length parame
t
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix
_
filename: move docstring
to head
e
r
f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
hash-object:
f
i
x buffer
r
euse wit
h
-
-
path in a subdire
c
tor
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-18
Jeff
K
i
ng
r
u
n
-co
m
m
and: fix seg
f
aul
t
when cl
e
an
i
n
g
forked asyn
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff King
t0013: add a b
a
sic sha1 co
l
lisi
o
n d
e
tection test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
J
eff King
Make
f
ile: add DC_S
H
A1
knob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
J
eff Kin
g
sequencer: dr
o
p "warning:" when sto
p
ping for edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
K
ing
sha1dc:
disab
l
e safe
_
hash fe
a
ture
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sh
a
1dc: adj
u
st header
inclu
d
es f
o
r
g
it
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
eff King
sha1dc
:
add collision
-
detecting sh
a
1 impleme
n
tation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Je
f
f
K
ing
index-pack: make pointer
-
ali
a
s fallbacks sa
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff Ki
n
g
replace snprintf with odb_pa
c
k_name()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
odb_pa
c
k
_keep():
stop
g
enerating keepfile name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1_file
.
c: make pack-n
a
me he
l
p
er
g
lobally accessible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
move odb
_
* declarations out of git-compat-util
.
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff K
i
ng
rev-
p
arse: sim
p
lify parsing
of r
e
f options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff
K
ing
r
e
v-
p
arse: add h
e
lper
f
or
p
arsing "--foo/-
-
foo="
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Je
f
f King
re
v
-pa
r
se: use skip_prefix when parsing o
p
t
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
cherry-pi
c
k: detect bo
g
u
s
arg
u
ments to --mainl
i
ne
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-14
Jeff Kin
g
a
dd--interactiv
e
: do no
t
expand pathspecs
with ls
-
f
i
les
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-13
Jeff Ki
n
g
htt
p
-walker
:
fix buffer underflo
w
processing remote
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff Ki
n
g
t
/
interop: add test
of old c
l
ients against
modern git
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff K
i
ng
t: add an
i
nteroperabil
i
ty test
ha
r
n
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
eff
K
ing
ref
-
f
i
lter: use separate cache for contai
n
s
_
tag_
a
lgo
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
e
f
f
King
ref-
f
il
t
er:
d
ie on
p
arse_commit errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
e
ff King
ref-filter: us
e
contains_r
e
sult enum consisten
t
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff Ki
n
g
r
e
f-fil
t
er: move r
e
f
_
cbdata definiti
o
n i
n
to ref-filter
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff Ki
n
g
send-pack:
re
p
ort signal death of pac
k
-objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
King
send-pack: read "unpack" status
e
v
en
o
n pack-objects
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pack: improve unpack-status error messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pack:
u
s
e
skip_
p
refix
for
p
a
rsing unpack status
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
s
e
n
d-pack: e
x
tract p
a
rsing of "unpack" res
p
onse
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
i
ng
r
eceive-pack:
f
ix dead
l
ock when we cannot create
t
mpd
i
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-06
Jeff King
ewah:
fix e
w
ord_t/uin
t
64_t conf
u
sion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff
King
t
/
perf: add fallback
f
o
r pre-bin-wrapper
s
versions
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/perf: use $MODERN_G
I
T for all repo-copyi
n
g
steps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
ng
c
h
e
c
kout: rest
r
ict @-expansions when finding bran
c
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
e
ff
King
strbuf_chec
k
_r
e
f_
f
orma
t
(): expand only
l
oc
a
l branc
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
ng
branc
h
: res
t
rict @-expansio
n
s wh
e
n del
e
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
e
ff
K
ing
t3204:
t
est git
-
bran
c
h @
-
expa
n
sion
corner cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
n
g
interpr
e
t_branch_name: allow callers to re
s
trict
e
x
pansion
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jef
f
Kin
g
str
b
uf_bra
n
chna
m
e: add docstring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
str
b
u
f_br
a
n
c
hn
a
m
e: drop return value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jef
f
King
i
n
te
r
pret_branch_n
a
m
e
:
m
ove
d
ocstring to head
e
r fil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
inter
p
ret_branc
h
_name():
handle auto-namelen
f
o
r @{-1}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
eff King
add--interactive:
f
ix m
i
ssing f
i
le prompt for pa
t
ch
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jeff King
t
6300:
avoid c
r
eating ref
s
/heads/
H
EAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jef
f
King
http: add an "auto" m
o
d
e
for
h
ttp
.
emptyauth
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
J
e
ff Kin
g
parse_hide_
r
efs_confi
g
: tell parse_co
n
fi
g
_key we don
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
J
e
f
f
K
i
ng
parse_con
f
ig
_
key:
a
l
l
o
w
matching
single-level
co
n
fig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Je
f
f King
pa
r
se_co
n
f
ig_key: use skip_prefix instead of starts_wit
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff King
ident: do n
o
t ignore
emp
t
y co
n
f
ig
name/email
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Je
f
f
King
i
de
n
t
:
reject all-c
r
ud
ident
name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff
K
i
ng
id
e
nt:
handle NUL
L
email when complaining of empty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff K
i
ng
iden
t
: mark error messages for
t
ransla
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
h
t
tp: restrict auth metho
d
s to wha
t
the serv
e
r advertises
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-17
Jeff Kin
g
temp
f
ile: set errno t
o
a known val
u
e b
e
fore call
i
ng
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-16
Jeff
K
ing
t
e
mpfile: avoid
"
ferror | fclose" trick
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-15
J
eff King
show-b
r
anch:
use sk
i
p_pr
e
fix to drop ma
g
ic numbers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep:
tre
a
t
revs the
same for --untracke
d
as
f
or -
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Je
f
f Ki
n
g
remote: avoid r
e
a
d
ing $GIT_DIR confi
g
in non-r
e
po
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
ng
show-bra
n
ch:
s
t
ore
res
o
lv
e
d head in heap buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
show-branch: drop
head_len variable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff Ki
n
g
grep
:
do n
o
t diagnose missp
e
lt rev
s
with --
n
o-i
n
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff Ki
n
g
grep: avo
i
d reso
l
ving revision names in --no-index
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
grep: fix "--" r
e
v/path
s
pec
d
isambiguati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next