repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
daemon: sanitize incoming virtual hostname
2015-02-17
Jeff K
i
ng
d
a
e
m
on: san
i
tize incoming virtual
h
ostname
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-02-17
Jeff King
t5570: test
g
i
t
-
daemon's --interpol
a
ted-path
o
ption
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2015-02-17
J
eff King
git_con
n
ect: let
u
ser o
v
e
rride
virtual-host we send
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-29
Jeff Ki
n
g
is_hfs_d
o
tgit: lo
o
sen over-eager matc
h
of \u{
.
.
47}
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
J
eff Ki
n
g
fsck:
c
omplain about HFS+ "
.
git" al
i
ases in tre
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Jeff Ki
n
g
r
e
ad-cach
e
:
optional
l
y disa
l
low
H
FS+
.
g
it variants
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Jeff King
utf8: add is_hf
s
_dotgi
t
() helper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Je
f
f King
fs
c
k: notice
.
git case-inse
n
sitively
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Je
f
f King
t14
5
0: refactor
"
.
", "
.
.
",
and
"
.
git
"
f
s
ck tes
t
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Je
f
f King
ver
i
f
y
_
dotfile()
:
reje
c
t
.
git case-insensi
t
ively
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Jeff King
re
a
d-tre
e
: add tests for
confusing
p
aths l
i
ke "
.
.
"
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-12-17
Jef
f
King
unpack-trees: propagate
errors
a
ddi
n
g entries
to the
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-11-06
Jeff Ki
n
g
docs/credent
i
a
l
-store: s/--stor
e
/--file/
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-10-19
J
eff King
pac
k
-
o
b
jects: turn
o
ff b
i
tma
p
s when we spli
t
packs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-16
Jeff King
mailinfo: make ">From" in
-
body header check more r
o
b
u
st
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-12
Jeff King
f
sck: return
non-zero sta
t
us on missing ref tips
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-11
Jeff King
c
onf
i
g: avoid a funny sentinel v
a
l
ue "a^"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-09-10
Jeff Kin
g
fsck
:
exit wi
t
h
non
-
ze
r
o
status upon
error from
f
sck_
o
bj(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-29
Jeff King
index-pack: fix race condition
with
duplicate bases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-26
Jef
f
Ki
n
g
se
n
d-pack: take refs
p
ecs ov
e
r stdin
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Jeff King
g
i
t-prompt:
d
o
n
ot
look
for refs/stash in $G
I
T_DIR
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Jeff King
f
a
st-imp
o
rt: fix buffer overflow in dump_
t
ags
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
Jeff King
fast-
i
mp
o
rt: clean
u
p
p
ack_data po
i
nter in
end_packfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-25
J
e
f
f
King
pack-ref
s
: prune t
o
p-le
v
el refs l
i
ke "r
e
fs/foo"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-20
J
e
ff K
i
ng
in
t
ersect_paths: respect mode in git's tree-sort
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-19
Jef
f
King
Ma
k
efi
l
e: mak
e
perf te
s
ts optional for prof
i
le
build
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-08-12
Jeff King
pack-objects:
turn off bitmap
s
when we see --shall
o
w
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
pretty: make
e
mpty userformat
s
truly empty
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
p
retty: treat
"--format=" as an empty userformat
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
revision: d
r
op useless string
offset w
h
en parsing
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
t4013: te
s
t diff
-
tre
e
's --stdin
commit formattin
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
King
t1402: chec
k
f
or refs e
n
ding with
a dot
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
e
f
f
King
diff-tree: avoid lookup_unknown_o
b
ject
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
eff King
o
b
ject_as_type: set commit
index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
Kin
g
alloc: factor out commit
index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
add objec
t
_as_typ
e
h
elper for casting obj
e
cts
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
e
ff
King
parse_obje
c
t_buffer: do no
t
set
object
t
ype
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
J
eff Kin
g
move setting of object->type to a
l
loc_*
function
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
K
i
ng
all
o
c
: wri
t
e out a
l
locator definitions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Ki
n
g
a
pply
:
avoid
p
ossible bogus
p
oin
t
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Kin
g
fix memory l
e
ak parsing
c
ore
.
commentch
a
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
ing
tr
a
n
s
p
ort: fix
l
eaks in ref
s
_from_alternate_cb
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
J
e
ff King
f
ree re
f
string retur
n
ed b
y
dwim_r
e
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-24
Jef
f
King
receive-pack: do
n
't copy "dir" p
a
rameter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
t5539: update a fl
a
ky
t
est
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
paint_down_t
o
_com
m
on:
use pr
i
o_queue
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Je
f
f
K
ing
prio-queue: make output
stable with resp
e
ct to
i
n
sertion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
prio-queu
e
:
factor o
u
t c
o
mpare and s
w
ap ope
r
ations
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff
Ki
n
g
d
i
f
f
-tree: avoid loo
k
up_unknown_object
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
object_as_type: set commit index
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
alloc: fa
c
tor ou
t
comm
i
t
i
nd
e
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
add obj
e
c
t_a
s
_type help
e
r for casting
o
bjects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Je
f
f
K
ing
parse_object_buffer: do not set obje
c
t type
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
m
ove se
t
t
i
n
g
o
f
object->typ
e
to alloc
_
* f
u
nctions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
allo
c
: write ou
t
allo
c
at
o
r defin
i
tions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
tag:
u
se skip
_
pr
e
f
ix instead of mag
i
c numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote-curl: m
a
rk helper
-
p
r
otocol
e
rror
s
more clearly
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
remote
-
curl: use error inste
a
d of fprint
f
(stderr)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f King
remote-curl: do not comp
l
ain on EOF from paren
t
g
i
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t7300: repair filesyste
m
permissi
o
ns w
i
t
h
test_whe
n
_finished
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
prepa
r
e_packed_gi
t
_
o
ne: refactor duplicat
e
-pa
c
k ch
e
ck
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
Kin
g
veri
f
y-
p
ack:
use strbuf_str
i
p
_suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
strbuf
:
implement strb
u
f_strip_suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
in
d
ex-pa
c
k:
u
se strip_suf
f
i
x
to avoid magic numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
us
e
strip
_
suffix instead of ends_wi
t
h
i
n simple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
r
e
place has_extensi
o
n with
ends_w
i
th
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
i
m
pl
e
ment ends_with via strip_suffix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-30
Jef
f
King
add str
i
p_s
u
ffi
x
f
unctio
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
repla
c
e: a
d
d a --raw mode fo
r
--edit
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
J
e
f
f
King
replace: use argv_array i
n
ex
p
or
t
_
obje
c
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jef
f
King
avoi
d
double close o
f
descriptors handed to
r
un_co
m
mand
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
r
eplace: rep
l
ace spaces with tabs
in
inde
n
tati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
move "%G" format test
f
r
o
m
t7510 to t6006
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-25
Jeff
King
s
etu
p
_git_
e
nv(): introd
u
ce git_p
a
t
h
_
from_env() helper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
e
ff Ki
n
g
ht
t
p-p
u
sh: ref
a
ctor parsing of remote object
n
ames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
use sk
i
p_
p
r
e
fix to avoid repeated calculations
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f King
git
:
avoid
magic nu
m
ber wi
t
h skip_
p
refix
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
fetch-pack: refactor parsing in get_ack
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
fast-im
p
ort: refactor parsing
of spaces
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
sta
t
_opt: chec
k
extra strlen
call
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
daemon: us
e
ski
p
_
p
r
efix to avoid magic numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fast
-
import: use skip_prefix for parsing i
n
put
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff Ki
n
g
us
e
s
k
ip_prefix to avoid
repeati
n
g
s
trings
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
use skip_p
r
e
f
i
x
to avo
i
d magic
n
u
m
b
e
rs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff K
i
ng
t
r
ansport-he
l
per:
a
v
o
id read
i
ng past end-of-string
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
fast-import: f
i
x read of un
i
nitialized argv memory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
apply: use skip_pre
f
ix in
s
tead of raw a
d
dit
i
on
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
re
f
actor skip_prefi
x
t
o return a b
o
olean
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
uniqu
e
_
path: fix unl
i
kely heap overflow
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
w
a
lke
r
_fe
t
ch:
fix minor m
e
m
o
ry leak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
merge: use argv_array when spawning merge st
r
ategy
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
ing
sequenc
e
r: use
a
rgv_array_pushf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff King
setup_g
i
t_env
:
use git_pat
h
dup ins
t
e
a
d of xmalloc
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jef
f
King
use xstrfmt to replace
xmall
o
c + st
r
cpy/strc
a
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
King
use xstr
f
mt to replace xm
a
l
loc + sp
r
intf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff Ki
n
g
use xst
r
dup instead of x
m
all
o
c + strcp
y
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
Jeff
K
i
ng
u
s
e xstrfmt
in favor of manual size calcula
t
ions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-19
J
eff King
s
trbuf: add
xs
t
r
f
mt helper
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
Je
f
f King
avoid usin
g
s
k
ip_pr
e
fix a
s
a
b
oolean
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2014-06-18
J
eff King
daemon:
m
ark some strings as const
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next