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
verify_filename(): flip order of checks
2017-05-29
Jeff K
i
ng
verify
_
fi
l
ename
(
)
: flip or
d
er of checks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-29
J
e
ff
King
verify_filename(): treat "
:
(magic)" as a pathspec
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-29
Jeff
King
check_filename(): h
a
ndle ":^" path magic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-29
Jef
f
King
chec
k
_fi
l
e
name(
)
: use skip_pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-29
Jeff
K
in
g
c
h
eck_filename(): refactor ":/" handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-29
J
e
ff Ki
n
g
t4208: add check for ":/
"
w
ithout matching file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-05-05
Jef
f
K
ing
shel
l
: disallow
r
epo
name
s
b
e
ginnin
g
w
i
th
dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-25
Jeff King
prio_q
u
e
u
e
_
reverse: don'
t
s
w
ap
e
l
ements with themselv
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-25
J
e
f
f
King
submodul
e
_init: die cleanly on
submodules with
o
ut url
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-24
J
e
ff King
c
ompl
e
tion: optionally di
s
a
ble ch
e
ckout D
W
IM
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff
King
docs
/
bis
e
c
t-lk2009: update ja
v
a code conventions link
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
J
e
ff
Kin
g
d
o
c
s/bisect-lk2
0
0
9
:
u
pdate nist rep
o
rt link
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff King
docs/archimport
:
quot
e
sou
r
c
ec
o
nt
r
o
l
.
n
e
t refe
r
ence
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
J
e
ff King
gitcore
-
tutori
a
l
: update brok
e
n
link
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Je
f
f King
d
o
c: replace o
r
.
cz
gitwiki link with git
.
wi
k
i
.
ker
n
el
.
org
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff Ki
n
g
doc: use h
t
tps links to
a
void ht
t
p redirect
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff King
c
o
nne
c
t
.
c: fix leak in han
d
le
_
ssh
_
variant
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff King
a
m
: drop "d
i
r" parameter from am_s
t
ate_init
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff King
replace str
b
u
f
_addstr(g
i
t_p
a
th())
w
ith git_path_buf(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff K
i
n
g
replace
xst
r
dup(gi
t
_path(
.
.
.
))
w
ith git_pathdup(
.
.
.
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff Kin
g
use git_path_* help
e
r funct
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
Jeff
King
bra
n
ch:
add edit_d
e
scripti
o
n() help
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-21
J
eff King
bisect: add git_p
a
th_bise
c
t_terms helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
r
e
fs: reje
c
t
r
ef u
p
d
ate
s
while
G
I
T_QUARANTINE_PATH
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
rec
e
ive-pack
:
docume
n
t user-vis
i
ble
quarantine
effe
c
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jef
f
King
receive-
p
ack:
d
rop t
m
p_objdir_env from
r
u
n_up
d
ate_hook
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-17
Jeff King
c
onnect
.
c: handle er
r
ors
from spl
i
t_cmdl
i
ne
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
Jeff K
i
ng
ind
e
x-pack:
detect
l
ocal
corru
p
t
ion in collision ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-04-01
Jef
f
Ki
n
g
sha
1
_loose_object_inf
o
:
r
eturn
error for corrupted
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
K
i
ng
daemo
n
: use
an argv_a
r
r
ay
t
o exec
c
h
ildren
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff
King
gc:
r
eplace local buffer with git_path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
transpo
r
t
-helper: replace
checked snprintf wi
t
h xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
co
n
vert unchecked
snprintf into xsnpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
com
b
ine-diff: replace ma
l
loc
/
s
npri
n
t
f wi
t
h
x
s
trf
m
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
replac
e
u
nc
h
e
c
ked snprintf calls with heap buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
rece
i
v
e
-pa
c
k:
p
rint
-
-pack-he
a
d
e
r
d
i
re
c
tl
y
into argv
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
name-rev: replace static buffer w
i
th strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
eff King
cre
a
t
e
_branch:
u
se xstrfmt for reflog
m
essage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jef
f
K
ing
cr
e
ate_
b
ranch: move msg set
u
p closer to
p
o
int of us
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
avoid using
m
k
snp
a
th for refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
av
o
i
d
using
f
i
xed PATH
_
MAX b
u
ffe
r
s for refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
fet
c
h
:
u
s
e heap buffer t
o
format
reflog
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
tag: use s
t
rbuf
t
o
format tag header
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
J
e
f
f
K
ing
diff:
av
o
id
fixed-si
z
e buffer for
patch-i
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
difft
o
ol: avoid strcpy
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-29
J
e
f
f King
Makefile:
d
e
tect errors in ru
n
n
in
g
spa
t
ch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff
K
ing
odb_mk
s
temp: use git
_
pa
t
h
_b
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jeff King
odb_m
k
stemp: wri
t
e file
n
ame into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-28
Jef
f
King
do not
check od
b
_mkstemp ret
u
rn value for errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
J
e
f
f
King
pack
.
h: define largest possible encode
d
object size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
e
ncode_in_pa
c
k_obj
e
ct_hea
d
er: r
e
sp
e
c
t outp
u
t buffer
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast-impor
t
:
use xsnprintf for for
m
attin
g
headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
J
eff
King
fast-import:
use xsnprintf f
o
r writi
n
g
sha1
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
pager_in_use
:
use git_env_bool()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
bund
l
e
:
u
se prefix_file
n
ame with bundle
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f King
p
r
efix_
f
il
e
n
a
me: simplify w
i
ndows #i
f
def
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Je
f
f
King
prefix_f
i
lename: retur
n
newly allo
c
ated
string
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
e
f
f
Kin
g
prefix_file
n
ame
:
drop lengt
h
p
arameter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
J
ef
f
King
pre
f
ix_filename: move docstr
i
n
g
to h
e
ader f
i
le
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
hash-object: fix b
u
f
f
er reuse
with --path in
a subdi
r
ect
o
ry
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-18
J
eff King
run-comman
d
: f
i
x segfault when c
l
eaning forked asy
n
c
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff Kin
g
t0013
:
a
d
d
a basic sha1 collisi
o
n
detection test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff King
M
akefile: add D
C
_SHA
1
knob
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-17
Jeff
K
i
n
g
sequencer
:
drop "warning:" when s
t
opping fo
r
e
dit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha
1
dc: dis
a
ble
safe_hash feature
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1dc:
a
djust header incl
u
d
e
s for git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
J
e
ff King
sha1dc: add collisi
o
n-d
e
t
e
c
t
ing sha1 imp
l
e
ment
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
i
ndex-pack: make pointer-alias fallbacks safer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
repl
a
ce
sn
p
r
intf with odb_pack_name(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
K
i
n
g
odb_pack_ke
e
p(): stop
g
enerating keepfil
e
n
a
me
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jef
f
King
sha1_fil
e
.
c: make pack-na
m
e he
l
p
e
r glob
a
lly accessible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-16
Jeff Kin
g
move
o
db_* declarat
i
ons
o
u
t of git-
c
ompat-util
.
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
J
eff Kin
g
rev
-
parse: simplify parsing
of ref options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
re
v
-parse: add
helper for parsing "--foo/-
-
fo
o
="
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
J
eff K
i
ng
rev-parse: use skip_p
r
efix when parsing options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
c
herr
y
-pick: detect bogu
s
arguments to -
-
mainline
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-14
J
e
ff
K
ing
add--inter
a
ctive:
d
o not expand
p
athspecs with l
s
-files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-13
J
e
f
f Kin
g
http-walk
e
r: fix buffe
r
underflow processing rem
o
te
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
i
ng
t/in
t
erop: add test of
old clients
a
gains
t
modern
g
it
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
t:
add an
int
e
roperability tes
t
harness
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-
f
ilter: use separat
e
cach
e
f
o
r
cont
a
ins
_
tag_alg
o
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff K
i
n
g
ref
-
filter: di
e
on parse_com
m
it errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
J
eff K
i
ng
ref-filter:
use contains_
r
esul
t
enum consisten
t
ly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-10
Jeff Ki
n
g
ref
-
filt
e
r: mov
e
ref
_
cb
d
ata def
i
nition into ref-
f
ilter
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff Kin
g
send-
p
ack:
r
e
port signal dea
t
h of pack-ob
j
ects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
King
send-pack: read
"
unpack" sta
t
us even on pack
-
o
b
je
c
ts
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff King
se
n
d
-
pa
c
k: improve u
n
p
a
c
k-
s
tat
u
s error
messages
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
King
send-p
a
ck:
use skip_prefix for
p
a
rsing unp
a
c
k
stat
u
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
J
e
ff K
i
ng
send-pack: extract pa
r
si
n
g of "unpack" response
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
ing
rece
i
ve-pack
:
f
i
x deadloc
k
w
hen we cannot create tmpdir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-06
Jeff K
i
ng
ewa
h
: fix
e
wor
d
_
t
/uint64_t
c
onfusion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff
King
t/perf: add fallback for
pr
e
-b
i
n-wra
p
pers versions
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/pe
r
f: use $MOD
E
RN_GIT
for all repo-
c
opying step
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Kin
g
checkou
t
:
r
e
strict @-
e
xpansi
o
ns when fin
d
ing branch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
e
f
f
K
i
ng
s
t
rbuf_check_ref_format()
:
expand only
l
ocal bran
c
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jef
f
King
branch: restrict @-e
x
p
ansions when
d
eleting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Ki
n
g
t
3
204: test git-branch @-ex
p
a
n
sion corner
c
a
s
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
J
ef
f
King
int
e
rpret_
b
ranch_name: allow
callers to
r
estrict expansions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
strb
u
f
_
branchname
:
add docstring
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
strbuf
_
b
r
anc
h
nam
e
: d
r
op return value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next