repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'km/t1400-modernization'
2017-04-17
Jeff Ki
n
g
r
e
fs: reject ref updates while
GIT_Q
U
A
R
ANTI
N
E_PATH
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
receive-pack: document user-visible q
u
a
rantine ef
f
ects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
receive-pack: drop tmp_ob
j
d
i
r_
e
nv f
r
o
m
r
un_update_hook
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
J
e
ff
King
connec
t
.
c:
h
a
ndl
e
er
r
ors
f
rom split_cmd
l
ine
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
J
e
ff
K
ing
index-pa
c
k: detect lo
c
al corr
u
ption in coll
i
sion
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
Jeff K
i
ng
s
ha1_loose_object_i
n
fo: r
e
tur
n
e
r
ror
f
or corrupted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
daemon: use an
a
rgv_array
to e
x
ec
c
h
i
ldre
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
gc: replace
l
oca
l
bu
f
fer with git_path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff K
i
ng
t
r
ansport-helper: replace checked
snprintf
w
it
h
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
eff King
c
onvert uncheck
e
d snp
r
intf
i
n
t
o
xs
n
print
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f Ki
n
g
combine-diff: re
p
lace mall
o
c/
s
nprintf with
x
strfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
re
p
lace unchecked sn
p
rintf
c
alls with heap buf
f
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
re
c
eive-pack:
print --pack-head
e
r
directly
into argv
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
e
ff King
n
a
me-r
e
v:
replac
e
static buffer wi
t
h strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
eff King
create_branch
:
use
x
strfmt for
r
eflog mess
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
cr
e
ate_branch: move msg
setup
c
l
oser to po
i
nt of use
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Kin
g
avo
i
d us
i
ng mksnpath for
r
efs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
in
g
avoid using fixed PATH_
M
AX buf
f
ers f
o
r
ref
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
e
f
f
King
fetch
:
use
h
ea
p
bu
f
fe
r
t
o f
o
rma
t
re
f
log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
tag: use strb
u
f
to format tag
h
e
a
d
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
ing
diff:
a
voi
d
fixed-size buffer for patch-
i
ds
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
ing
d
i
fftool: avoid
strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-29
Jeff King
M
a
kefile: detect errors in running spa
t
ch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff
K
ing
od
b
_mkstemp:
u
s
e git_path_buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
J
e
ff King
odb_mk
s
temp: write fi
l
e
n
ame i
n
to
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff K
i
ng
do not c
h
eck odb_mkstemp
return va
l
ue for errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
pack
.
h: define la
r
gest possi
b
l
e
encoded object size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff K
i
ng
encod
e
_i
n
_pac
k
_obj
e
ct_heade
r
: resp
e
ct output
b
u
ff
e
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast-import: use xsnprint
f
f
or form
a
tting
h
eaders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
f
as
t
-import: use xsnp
r
intf
for writ
i
ng sha1s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff
King
pager_in_use
:
u
s
e git_env_bool
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff
King
bu
n
dle
:
use
prefix_filename with
bundle
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jef
f
Kin
g
prefix_filen
a
me: simplify windows #ifdef
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff Kin
g
pr
e
f
ix_filename: return newly alloca
t
e
d
string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_
f
ilename: drop length para
m
eter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefi
x
_filename: mo
v
e docstrin
g
to he
a
der file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
eff King
hash-object:
f
ix buffer reus
e
with --path in a subdi
r
e
c
tory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-18
Jef
f
King
run-command: fix s
e
gfault when clea
n
i
n
g f
o
rked async
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff
K
ing
t0013
:
a
dd a
b
a
s
i
c
s
ha1 co
l
l
i
sion det
e
ction test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
J
eff King
M
akefil
e
: ad
d
DC_S
H
A1 knob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
J
e
ff
King
sequ
e
ncer: dr
o
p
"wa
r
ning:" when stop
p
i
ng for edit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha
1
d
c:
d
is
a
ble saf
e
_hash f
e
ature
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
s
h
a
1dc:
ad
j
u
st header includes for git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff
K
ing
sha1dc: add col
l
i
si
o
n-detecting sha1
implementa
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
index-pack: make
p
ointer-a
l
ias
f
a
l
l
backs
s
afer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
replace snpr
i
ntf wit
h
odb_pack_n
a
me()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff Ki
n
g
odb_pac
k
_keep(
)
: stop gen
e
r
ating keepfile
name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
s
h
a1_file
.
c
:
make pack-name helper globa
l
ly acce
s
sible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
mo
v
e odb_* declarations out of
g
it-comp
a
t-u
t
il
.
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-pars
e
: si
m
plify par
s
ing of
r
e
f opt
i
o
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
r
ev
-
parse: add helper for parsing "--f
o
o
/
--fo
o
="
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff
King
rev-parse: use skip_prefix wh
e
n pa
r
sin
g
o
p
t
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff
King
cherry-pick
:
detec
t
bogus arg
u
ments to --
m
ai
n
line
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-14
Jeff Ki
n
g
a
dd--inte
r
active: do no
t
expand pathspecs with ls-files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-13
Jeff King
h
t
t
p
-walker:
f
ix buffer underflow proce
s
sing remote
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t/i
n
terop
:
add test of old clients
agai
n
st
modern git
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t: add an interoperabilit
y
test har
n
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filt
e
r:
u
se separat
e
cach
e
for con
t
ains_ta
g
_alg
o
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff K
i
ng
ref-fi
l
ter: die on
p
a
rse_co
m
mit errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff K
i
ng
ref-filter: u
s
e c
o
nta
i
ns_result enum con
s
i
s
tently
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filter
:
move ref_cbdata de
f
inition into ref
-
filter
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pa
c
k
: report sign
a
l d
e
a
th of pack-objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jef
f
Kin
g
send-pack: read "unpac
k
"
status even on
pack-objec
t
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff Ki
n
g
send-pack: improve unpack-status error
m
essages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send-pack: use ski
p
_prefix for parsing un
p
a
ck status
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
send
-
pac
k
:
ex
t
ract pa
r
sing o
f
"unpack"
r
esponse
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
King
r
eceive-pack:
fi
x
deadlock wh
e
n we cann
o
t
create t
m
pdi
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-06
Jeff
K
ing
ewah: fix ew
o
rd_
t
/uint64_t
c
o
n
fusion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff
K
ing
t/perf: add fallback
for
pre-bin-wrappers versio
n
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/perf: use
$MODERN
_
GIT for all re
p
o-copy
i
ng st
e
ps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
King
checkout: restr
i
ct @-
e
xpa
n
s
ions when finding
b
r
a
nch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jef
f
King
strbu
f
_
c
hec
k
_ref
_
form
a
t(): ex
p
and onl
y
l
o
cal
branches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
eff
K
ing
b
r
anch: restrict @-expansi
o
ns whe
n
deleting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
ng
t
3
204: test git-branch @-expansion corner ca
s
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
eff Kin
g
interpret_branch_name:
a
llow ca
l
l
e
rs to
restrict expansions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
King
str
b
uf
_
branch
n
a
me: a
d
d
docstring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
s
trbu
f
_
b
ran
c
hname: dro
p
return valu
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jef
f
K
ing
int
e
rpret_branch_
n
ame:
m
ove do
c
s
tring to hea
d
er file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
ng
interpret_branch_name(): handle a
u
t
o
-namel
e
n for @
{
-1}
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
add--
i
nteractive: fix m
i
ssing
fil
e
prom
p
t for patch
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jeff
K
ing
t630
0
: av
o
id c
r
eating r
e
fs/heads/HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-27
Jeff King
http: add
a
n "auto" mode
for http
.
emptyauth
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
pa
r
se_hide_re
f
s_config: t
e
ll
parse
_
config_k
e
y
w
e don
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
Jeff K
i
n
g
parse_
c
o
n
fi
g
_key:
a
l
low
matching single-lev
e
l co
n
f
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-24
J
e
ff King
pars
e
_config_key: use
skip_
p
refix instead of s
t
a
rts_with
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff
K
ing
ident: do not ignor
e
empty config
n
a
me/
e
mail
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
J
e
f
f
K
ing
iden
t
: re
j
ect all-crud ident nam
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
J
eff K
i
n
g
ident: handle NULL e
m
ail when complaining
o
f empty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
ident:
mark err
o
r
messages for translation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
http: r
e
stri
c
t auth methods to what th
e
ser
v
er adverti
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-17
Jeff Ki
n
g
t
e
m
pfi
l
e: set er
r
no to a
k
n
o
wn va
l
ue before cal
l
ing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-16
Jeff King
tem
p
file: avoid "ferror |
f
close" tri
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-15
Jef
f
K
i
ng
show-branch
:
use
s
k
i
p_pr
e
fix to
drop
magic nu
m
bers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff Ki
n
g
g
rep:
t
r
eat revs the same for --untracked as for
-
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jef
f
Kin
g
r
e
mote: av
o
id r
e
a
ding $GIT
_
D
I
R
config in non-repo
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
show-branch: st
o
re resolved head in heap
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
J
eff
Ki
n
g
show-bran
c
h: dr
o
p head_len variabl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep:
d
o
not dia
g
n
os
e
m
i
sspelt r
e
vs with --no-index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
King
grep:
a
voi
d
resolvin
g
revision name
s
in
--no-index
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: fix "
-
-" rev
/
pathspec di
s
a
m
bi
g
ua
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next