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
convert unchecked snprintf into xsnprintf
2017-03-30
J
e
ff King
conver
t
unchecked
snprintf into xsnprintf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
co
m
bine-diff:
r
eplac
e
malloc/snprin
t
f with x
s
t
r
fmt
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
replace unchecked
s
n
printf calls with heap buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Ki
n
g
r
e
ce
i
v
e-
p
ack: print --pac
k
-hea
d
er directly in
t
o argv
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
name-rev: replace
s
tatic b
u
ffer with strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
create_br
a
n
c
h:
u
se
x
strf
m
t f
o
r
reflog me
s
sag
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
create_branch
:
move msg set
u
p
closer
t
o point of us
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Je
f
f King
avoi
d
using mks
n
path
for refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff King
avoid usin
g
fixed
P
ATH_MAX buffers for refs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jeff Kin
g
f
etch:
u
s
e
heap buffer to format reflo
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
J
e
ff
King
ta
g
: u
s
e strbuf
to format tag he
a
der
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-30
Jef
f
King
d
iff: avoid fixed-size buffer for patch-ids
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
J
eff King
odb_mkstemp: use git_path_buf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
Jeff King
odb_mkst
e
mp:
write fi
l
ename in
t
o str
b
u
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-28
Je
f
f
King
d
o
not c
h
eck o
d
b
_
m
kste
m
p
re
t
urn value f
o
r
errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff Kin
g
pack
.
h: define largest po
s
sibl
e
enc
o
ded ob
j
ect s
i
z
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Je
f
f King
e
ncode_in_pack
_
objec
t
_heade
r
:
r
e
s
p
e
c
t
o
u
t
p
ut buffer
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff K
i
ng
f
a
st-import: u
s
e
x
snprintf fo
r
formatting headers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff King
fast-i
m
port: use xsnprintf
for writ
i
ng sha1s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-24
Jeff
K
ing
pager_in_use: us
e
git_env
_
bool()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff
K
ing
b
u
n
dle: use
prefix_f
i
lename with bundle p
a
th
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
pr
e
fix
_
f
ilename: si
m
plify win
d
ows #ifdef
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
J
e
ff Ki
n
g
prefix_filename: retur
n
newly allocated
s
tring
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_file
n
ame:
drop length
p
arameter
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
prefix_filen
a
m
e
:
move
docstring
to
header file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-21
Jeff King
hash-object: fix buffer reuse wi
t
h --pa
t
h in a
subdire
c
tory
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-18
Jeff King
r
un-
c
om
m
and: fix seg
f
ault w
h
en cleaning
f
orked async
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Jeff
K
ing
t
0
013:
add
a
basic sha1 collis
i
on detection t
e
st
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Jeff King
Makefile
:
add DC_SHA1 knob
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-17
Jeff King
se
q
uenc
e
r: d
r
op "w
a
r
ning:
"
when stopping for edit
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff K
i
ng
sha1dc: disable safe_hash featur
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff Kin
g
sha
1
dc:
adjust header include
s
for gi
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff King
sha1dc: add collision-dete
c
ting sh
a
1 i
m
ple
m
e
n
t
a
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Je
f
f K
i
ng
index-pack: make p
o
i
nte
r
-alias f
a
llbacks sa
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jef
f
King
repla
c
e snpri
n
tf with odb_pack_name()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
K
ing
od
b
_pack_ke
e
p(): sto
p
ge
n
erating k
e
epfile name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff Ki
n
g
sha1_file
.
c
:
make pack-
n
a
me helper globally access
i
ble
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-16
Jeff
K
ing
move odb_* d
e
clarations out of git-compat-util
.
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-parse:
simplify parsing of
r
ef
o
pt
i
o
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
rev-pa
r
se: add helper
for
p
arsing "--f
o
o/-
-
foo="
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
J
e
f
f King
rev-parse: use s
k
ip_prefi
x
when parsing options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-15
Jeff King
cherry-pick: d
e
tect bo
g
us argument
s
to --mainline
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-14
Jeff King
add-
-
interactive: do not expand
p
athspecs
with ls-files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-13
J
e
f
f King
http-walker: fi
x
buffer
u
nde
r
flo
w
pr
o
cessing r
e
mote
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff Kin
g
t/interop: ad
d
test of old clients
against modern
g
it
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff Kin
g
t: add an inte
r
op
e
rability tes
t
harness
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff King
ref-filter: use
separate
c
a
ch
e
for
c
o
nt
a
i
n
s
_tag_algo
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
i
n
g
r
ef-filter: die on parse_commit errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
J
eff King
ref-fil
t
er: use conta
i
n
s
_resul
t
enum c
o
nsis
t
ently
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-10
Jeff
K
ing
r
ef-filt
e
r: m
o
ve ref_
c
bdata def
i
nition into re
f
-filter
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
J
eff
King
send
-
p
ac
k
: report signal de
a
t
h of
p
ack-objects
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
in
g
s
en
d
-
p
ack:
read
"
u
n
pack"
s
tatus even on pack-object
s
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Je
f
f King
se
n
d-p
a
ck:
i
mprove unpack-st
a
tus error mess
a
ges
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
King
s
end-pa
c
k: use
s
kip_pre
f
ix for
p
ars
i
ng unpa
c
k st
a
tus
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
J
eff King
send-pack:
e
xtra
c
t par
s
ing
o
f
"
unp
a
ck
"
r
esponse
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-07
Jeff
K
ing
receive-pack: fix deadlock when we ca
n
not cre
a
t
e tmpdir
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-06
Jeff King
ewa
h
: fix
e
wor
d
_
t/uin
t
64_t confusion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-03
Jeff King
t/perf: add fallba
c
k
f
or
pre-bin-wrapp
e
rs
v
ersions
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-03
J
e
f
f King
t
/perf: use $
M
ODERN
_
G
I
T for
a
ll re
p
o-cop
y
i
n
g
steps
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
checkout:
rest
r
ict @-expansions w
h
en finding
b
ranch
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
strbuf_check_ref_format(): expand only local b
r
a
n
ches
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Ki
n
g
branch: r
e
s
trict @-expansions when
de
l
eting
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
t
3
204: test git
-
b
ra
n
ch @-exp
a
nsio
n
c
o
rner c
a
ses
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff K
i
n
g
interpret_b
r
anch_name
:
all
o
w cal
l
e
r
s
to restric
t
e
xpa
n
sions
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
st
r
buf_branchname
:
add docstring
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff Ki
n
g
strbuf_bra
n
chname: d
r
op return value
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
J
e
ff King
interpret_branch_name: m
o
ve docstring to hea
d
er file
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff King
interpr
e
t
_branch_name():
han
d
le
a
uto-namelen for @{
-
1}
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-03-02
Jeff
K
i
ng
add--inter
a
c
t
ive: fix
missin
g
file prompt for patch
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-27
J
e
ff King
t6300:
avoid cr
e
ating ref
s
/heads
/
HEAD
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-27
Jeff Ki
n
g
http: add an
"
a
u
to" mode
f
o
r
h
t
t
p
.
e
mptyauth
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
p
a
r
se
_
h
i
d
e_
r
efs_config: tell parse_config_key w
e
don
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Jeff
Ki
n
g
parse_confi
g
_ke
y
: al
l
ow
m
a
tching si
n
gle-
l
evel config
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-24
Jeff King
p
a
r
s
e_config_key: use skip_pr
e
fix instead of starts_wit
h
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff
K
ing
ide
n
t
:
do
n
o
t ignore empty config n
a
me
/
email
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Kin
g
i
dent: r
e
ject all-cru
d
id
e
nt name
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff King
iden
t
:
handle NULL ema
i
l wh
e
n complain
i
ng of empty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jef
f
King
ident: mark error
m
e
ssages for trans
l
ati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-23
Jeff Ki
n
g
h
ttp: rest
r
i
ct
a
ut
h
met
h
o
ds to what the server a
d
v
e
rtises
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-17
J
e
ff King
tempf
i
le:
s
et errno to a
k
nown value
b
efore calling
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-16
Je
f
f
King
te
m
p
f
ile: avoid "fe
r
ror | fclose" trick
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-15
Jeff King
sho
w
-b
r
anch: use skip_prefix to drop magic
numbers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
King
gr
e
p: treat revs the same for --untracked as for -
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
J
eff Ki
n
g
remote: avoi
d
reading
$GIT
_
DIR config
i
n n
o
n-repo
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
J
eff King
show-branch: store r
e
s
ol
v
e
d
head i
n
heap buffer
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
show-branch: drop head_len v
a
riable
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff
K
ing
grep: do not di
a
g
n
o
s
e
m
i
s
s
p
el
t
rev
s
wi
t
h
--no-ind
e
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: av
o
id
r
e
solvin
g
revis
i
on
n
ames i
n
-
-no-index
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff K
i
n
g
gre
p
:
f
ix "--" rev/pathspec disambigua
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Jeff King
grep: re-
o
rder rev-
p
ars
i
ng loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-14
Je
f
f King
grep:
m
o
v
e
thread initialization a
little l
o
we
r
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-13
Jeff King
docs/git
-
submodul
e
:
fix unba
l
a
nced quote
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-13
Jeff K
i
ng
docs/gitre
m
ote-helpers: fix unbal
a
nce
d
quotes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff K
i
ng
receive-pack: avoid duplicates betwee
n
ou
r
ref
s
and
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f King
r
e
ceive-pack: treat
n
amespac
e
.
h
a
ve li
n
es li
k
e a
l
ternates
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
J
e
f
f
K
ing
receive-pack: fix mi
s
leading namesp
a
ce
/
.
have comment
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff King
rece
i
ve-p
a
ck: use oidset
t
o de-duplicate
.
have lines
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Jeff K
i
ng
add oidset
A
PI
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
Je
f
f King
fetch-pack: cac
h
e results of for_each_alt
e
rnate
_
r
e
f
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-02-08
J
e
ff King
for_each_alternate_ref: rep
l
ace tra
n
sport code with
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next