repo.or.cz
/
git
/
debian.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
refs_resolve_ref_unsafe: handle d/f conflicts for writes
2017-10-07
J
eff King
refs_
r
esolve_ref_unsafe: ha
n
dle d/f co
n
fl
i
cts for
w
ri
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: cre
a
te
a
real ref di
r
ectory/fil
e
conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
g
i
t: add
-
-no-optional-locks optio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
ate_headref: use get_oid
_
hex f
o
r
d
etach
e
d HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
al
i
date_headref: use skip_prefix
fo
r
symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
va
l
idate_headref: NUL-
t
ermi
n
ate HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
w
orkt
r
ee: c
h
eck the result of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
workt
r
ee: use xsize_t to access file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
distinguish
e
r
r
o
r versus short re
a
d
from read
_
in_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Kin
g
avo
i
d looking at errno
for shor
t
read_
i
n_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
King
pre
f
er "!=" when checking
r
e
ad_in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
not
e
s-mer
g
e
:
drop de
a
d zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-backend:
p
refer "0
"
f
or w
r
ite_in_full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
J
e
f
f Kin
g
doc: put literal blo
c
k delimiter
around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
consis
t
e
n
tly use "fallthrough" c
o
mments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cur
l
_trace(): eli
m
inate sw
i
t
c
h fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buffer: simplify c
o
mmand parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
Kin
g
cat-file
:
handl
e
NULL obje
c
t_c
o
ntext
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace
"
s
t
r
u
ct cmdlin
e
_pathspec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff
King
read_i
n
fo_
a
lt
e
rnates:
w
arn on non-trivial e
r
rors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff Ki
n
g
read_info_a
l
terna
t
es: rea
d
co
n
tents into str
b
u
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefi
x
_ref_iterator:
b
reak when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
re
a
d_p
a
ck_header:
h
andle signed/unsigned
comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff K
i
ng
c
o
nfig: f
l
i
p
ret
u
r
n v
a
lue of store_write_*
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
notes-
m
e
r
ge
:
use ssiz
e
_t for write_in_f
u
l
l
() re
t
u
r
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pk
t
-line: check
write_in_full() errors against "<
0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
ing
conv
e
rt
l
ess-trivial versions of
"
write_in_ful
l
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
K
i
ng
av
o
i
d "write_in_
f
ull(fd,
b
uf, len) !
=
len"
p
a
t
t
e
r
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
get-tar-c
o
mmit-
i
d: check wr
i
te_in_fu
l
l() return against 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
co
n
fig:
a
void "write_in_full(fd, buf, len) <
l
e
n"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
f
f King
cv
s
import: shell-q
u
ote
v
ari
a
ble used in backt
i
c
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff King
archimpo
r
t: use safe_
p
i
pe_capture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
she
l
l: drop
git-cv
s
serv
e
r
support
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: ski
p
format/parse rou
n
dtrip for in
t
erna
l
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
i
n
g
add UN
L
EAK annotation for reducing leak false
positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Je
f
f King
g
i
t_extract_argv0_
p
ath:
do not
h
ing
w
ithou
t
RUNTI
M
E_PRE
F
IX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
J
eff King
syst
e
m_path:
move RUNTI
M
E_PREFIX
to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
r
e
v-
p
a
r
s
e
: don't trim bisect refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
set_git_dir: handle feeding
gitdi
r
to
itse
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
r
e
pository: free fields before
ov
e
rwr
i
ting th
e
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rese
t
:
free a
l
loc
a
ted tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset:
m
ake tree counting less
confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: plug
u
ser_conf
i
g
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-index: fix cache
e
n
t
ry leak in a
d
d_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
add:
f
ree
leak
e
d p
a
th
s
pe
c
after a
d
d_fil
e
s_to
_
c
ache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: set LSAN_OPTIONS to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
test-lib: --valgrind shoul
d
not override --v
e
rbo
s
e-l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
stop leaking
l
ock
struct
s
in so
m
e simple
c
ases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leaking loc
k
_f
i
l
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
lockfile:
u
p
d
ate l
i
fetime re
q
uirements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile:
auto-allocate tempfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tempfile: remove deact
i
vated
l
is
t
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile: use
list
.
h fo
r
linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
tempfile: release deactivate
d
strb
u
f
s i
n
stead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile
:
r
o
bustify cleanup handl
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile: factor o
u
t
d
eacti
v
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
te
m
pfile: f
a
ctor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tempfile
:
re
p
lac
e
di
e
(
"BUG
"
)
w
ith
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile
:
handle N
U
LL tempfil
e
pointers
g
racef
u
lly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
tempf
i
le: prefer is
_
t
e
mp
f
i
l
e_active to
b
are access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
lockf
i
le:
do not
r
ollback l
o
c
k
on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
tempf
i
l
e
:
do not delet
e
tempf
i
le on fai
l
ed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
alwa
y
s check return value
o
f close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
ve
r
ify_signed_buffer: prefer close_tempfile() to clos
e
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
setup_tem
p
o
r
ary_sha
l
low: move t
e
mpfile st
r
uct
i
nto
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setu
p
_tempor
a
ry_shall
o
w: avoid using
i
nact
i
ve te
m
pfil
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
writ
e
_index_as_tr
e
e: cleanup tem
p
fil
e
on err
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
c
onfi
g
: use a
s
ta
t
ic lock_file struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff King
doc: fix t
y
po
i
n s
e
ndemai
l
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
p
r
et
t
y: support
normalization
o
pt
i
ons for %(trailers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t420
5
: ref
a
ctor %(trailers)
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
p
retty
:
move trailer form
a
tt
i
ng to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff
K
ing
i
n
t
er
p
ret-
t
railers:
a
dd -
-
parse con
v
eni
e
nce option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff
King
inter
p
ret
-
trailers: add an
o
p
t
i
on
t
o unfold va
l
ues
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
in
t
erpret-trail
e
r
s
: add an option t
o
show onl
y
exis
t
ing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
interpret-trailers:
add an option
t
o show
o
n
l
y the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
J
e
ff King
t
r
ailer: put process_t
r
ai
l
ers() opti
o
ns into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
e
ff King
sha1_file: drop
e
xpe
r
imental GIT_USE_LOOKUP s
e
a
r
ch
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
eff King
hashcmp: use memcmp instead of ope
n
-
coded
loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
revision
:
do not fallback t
o
d
e
fault when r
e
v_in
p
ut_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
ev-list: don't show usage when
we
see emp
t
y ref patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revision:
add r
e
v_inp
u
t_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
f
f
K
i
ng
t
6
0
18: fles
h
o
ut empty in
p
u
t
/output re
v
-l
i
st t
e
sts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
Kin
g
c
on
n
ect: reject paths
t
h
at look like command
l
ine option
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect: re
j
ect dashed a
r
g
u
m
e
nts for
p
roxy c
o
mmands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Je
f
f
King
connect: factor out
"
l
ooks like com
m
and lin
e
option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jef
f
Ki
n
g
t5813: add test for hostn
a
me sta
r
ti
n
g wit
h
dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t/lib-
p
roto-di
s
a
ble: restore proto
c
ol
.
allow
a
fter co
n
fig
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t:
h
andle
E
OF in test_copy_bytes
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff
K
ing
strb
u
f
:
use designa
t
ed initializers in STRBUF_I
N
IT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: c
o
nsult want_color
(
) before emitting
c
olor
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respe
c
t
colo
r
setting
s
f
o
r %C
place
h
olders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
rev-list: pass diffopt->use_colors through to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
fo
r
-each-ref: load config ear
l
ier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
i
n
g
color: ch
e
ck
color
.
ui in
g
i
t_default_config()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
ref-f
i
lter: pass
r
e
f_format struc
t
t
o ato
m
p
arser
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
r
e
f-f
i
lter: fact
o
r ou
t
the parsing of sorting a
t
oms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
r
ef-filt
e
r:
make parse_r
e
f
_
filter_atom a private function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
ref
-
filt
e
r: provide a
f
u
n
ction for parsing so
r
t
options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-
f
ilter
:
move need_co
l
o
r_reset_at_eol int
o
ref_forma
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next