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
Jeff King
re
f
s_resol
v
e_ref
_
uns
a
fe: handle d/f confli
c
ts for writes
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t3308: crea
t
e
a
real ref directory/f
i
le
conflict
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff Ki
n
g
g
it
:
add --n
o
-optio
n
al-lock
s
o
p
tion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
ate_headref:
use get_oid_hex for det
a
ched HEADs
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valid
a
te
_
he
a
dref: use sk
i
p_prefix for s
y
m
ref p
a
rsing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
vali
d
ate_headref: NUL-terminate HEAD buf
f
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
i
n
g
worktree: check the result of r
e
ad_i
n
_full(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
eff K
i
ng
worktr
e
e: use xsize_t to access file siz
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff Kin
g
disting
u
ish error versus short read f
r
om read_in_f
u
ll()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f Ki
n
g
avoid looking at errno for short read_in_full()
retur
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!
=
" when ch
e
c
king read_in_full() result
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
J
e
ff King
n
otes-merge: drop
dead zero-wr
i
te
c
ode
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
K
ing
files-backend: prefer "0"
f
or wr
i
te_in_full() error
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-24
Jeff K
i
ng
d
o
c: put literal block delimiter
a
round
t
able
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
con
s
istently use "fallthrough" comme
n
ts
i
n
s
witche
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trace(
)
: eli
m
i
nate sw
i
tch fallthr
o
ugh
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
J
e
ff King
test-line-buffer: simpl
i
f
y
comm
a
nd parsi
n
g
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
cat-file:
h
andle
NULL
o
bject_conte
x
t
.
path
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revisi
o
n
:
replace "struct
cmdline_pathspec"
with argv_array
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Ki
n
g
read_i
n
fo_
a
lternates
:
warn o
n
non-trivi
a
l errors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-20
Jef
f
K
i
ng
read_info_
a
lterna
t
es: read co
n
tents int
o
strbuf
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
prefix
_
re
f
_iterator: b
r
eak when we leav
e
the prefi
x
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
r
ead
_
pack_
h
eader: handle signe
d
/unsigned com
p
arison
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
conf
i
g: flip r
e
turn value of stor
e
_writ
e
_*()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff
King
not
e
s-merge
:
use ssi
z
e_t
for wri
t
e
_
in_full() retu
r
n
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
p
kt
-
line: check write_in_ful
l
(
) er
r
ors
a
gains
t
"< 0"
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff Ki
n
g
c
o
nvert les
s
-trivial v
e
rsions of "w
r
ite_in_full
(
)
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
avoid "write_i
n
_ful
l
(fd, buf,
len) != len
"
p
a
t
tern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
get-tar-co
m
mit-
i
d: check write
_
in_full() return ag
a
inst 0
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
a
void "write_in_full(fd, buf, len) < len" pattern
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
J
eff Kin
g
cvsimpo
r
t: sh
e
ll-quote variable use
d
in backticks
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
archimport: use
s
a
f
e
_pipe
_
capture fo
r
user input
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
shell
:
drop git-cvsser
v
e
r support
by
default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
Jeff Ki
n
g
sh
o
rtlog: skip f
o
rmat/
p
arse roun
d
t
rip
f
o
r
i
n
ternal
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff
King
add UNL
E
AK annotation for reducing
leak false p
o
sitives
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
git
_
extract_argv0_path: do noth
i
n
g
withou
t
R
U
NTIME_PREFIX
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system
_
path: move RUNTIME_PR
E
FIX t
o
a sub-function
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
rev-parse: do
n
't trim b
i
sect refnames
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
set_g
i
t_d
i
r: handle fe
e
din
g
gitdir to itself
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reposi
t
ory: f
r
ee fi
e
lds
be
f
ore
o
verwriting them
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
res
e
t:
f
ree a
l
located tree buffers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t
:
mak
e
tree coun
t
ing
less confusing
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
config: plug use
r
_conf
i
g l
e
ak
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
up
d
a
t
e-index: fix cache entry
l
eak in ad
d
_
one_file()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
add: fr
e
e lea
k
e
d pathspec after
a
dd_fil
e
s_to_cache()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-
l
ib:
set LSAN_OPTIONS
to abort by
default
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Ki
n
g
test-lib:
-
-
va
l
grind should not override --verbo
s
e
-
log
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
s
t
op leaking loc
k
structs
i
n some simple cases
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leakin
g
lock_files
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
lockfile: update lifetime req
u
irements
in docume
n
tation
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
pf
i
l
e: a
u
t
o-allocate
t
e
m
p
f
ile
s
on heap
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
t
e
mpfile:
r
e
m
ove deactiva
t
e
d list
e
n
tri
e
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
use list
.
h for
linked list
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tem
p
file: release deactiv
a
ted
s
trbufs ins
t
ead
o
f resett
i
ng
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f K
i
ng
tem
p
file: robus
t
ify cl
e
anup handler
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
e
m
p
f
ile:
f
act
o
r out deactivati
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: f
a
cto
r
out activ
a
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
temp
f
il
e
: replace die("BUG
"
) with BUG()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
eff K
i
n
g
te
m
pf
i
le: h
a
ndle NULL tempfil
e
pointers gracefully
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
K
ing
tem
p
f
ile:
prefer is_tempf
i
le_active to bare
a
ccess
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Ki
n
g
lockfile: do not
r
ollback lock on failed close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: do not delete
t
e
m
pfile on faile
d
close
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always check re
t
urn valu
e
of close_tempfile
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verif
y
_signed_buffer: prefer close_
t
empfile() to close()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
setu
p
_temporary_shallow: m
o
ve tempfile
s
t
r
uct
i
nto
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
set
u
p_temporary_shallow: avoid
u
sing inactive tempfil
e
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
w
r
ite_in
d
ex_as_tree: cleanup te
m
p
file on e
r
ror
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
c
onfi
g
: use a st
a
tic lock_f
i
le
s
truct
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
ing
do
c
:
f
ix typ
o
in s
e
nde
m
a
il
.
identity
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
pretty:
s
upport
n
o
r
malization
o
p
tions for %(trai
l
e
rs)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff K
i
n
g
t4205: refactor
%
(tra
i
le
r
s
) tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
Ki
n
g
p
rett
y
: move tra
i
ler form
a
tting to
t
rai
l
er
.
c
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff Kin
g
i
nte
r
pret-tra
i
lers: add --parse conven
i
ence op
t
ion
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jef
f
King
inter
p
ret-trai
l
ers
:
add an
opt
i
on to unfold value
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
interpret-trail
e
rs:
add an opt
i
on to show only existing
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-tra
i
lers: add an option to show only the
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-10
J
e
ff
K
i
n
g
t
r
ail
e
r: put process_trailers()
o
ptions into a struc
t
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
sha
1
_f
i
le: dr
o
p
experimental GIT
_
US
E
_LOO
K
UP search
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
h
ashcmp: use m
e
mcmp instead of
open-
c
oded loop
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
King
revision:
d
o not fallb
a
ck to default w
h
en rev_i
n
put_given
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
King
rev-
l
ist: don'
t
sho
w
usage wh
e
n
w
e
s
e
e empty ref
pat
t
erns
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
r
e
vision: add
r
ev
_
inpu
t
_g
i
v
e
n f
l
ag
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
t6018: flesh out e
m
pty inp
u
t/output rev-l
i
st tests
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff K
i
ng
co
n
nect: rej
e
ct paths that l
o
ok like comm
a
n
d
line optio
n
s
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
J
eff King
c
o
nnec
t
: rej
e
ct dashe
d
arguments for proxy commands
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect:
factor out "
l
o
o
ks like
command line
op
t
ion
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t
5813
:
add test
f
or hostn
a
m
e
star
t
ing with
d
ash
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t/lib-p
r
oto-disable: res
t
ore pro
t
oc
o
l
.
allow after
c
onfig
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: handle EOF in test_cop
y
_bytes(
)
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-14
Jeff Kin
g
strbuf: use d
e
signated init
i
aliz
e
rs in STRBUF_INIT
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fi
l
ter: consult want_color() be
f
or
e
e
m
itting colors
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
pretty:
respe
c
t c
o
lor settings fo
r
%C placeh
o
lders
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
rev-list: pass diffo
p
t->use_col
o
rs throug
h
to pretty
.
.
.
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff
K
ing
for-each-
r
ef: loa
d
co
n
fig ea
r
l
i
er
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
Ki
n
g
color
:
c
he
c
k colo
r
.
ui in git_default_co
n
fig()
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fil
t
er: pass ref_format struc
t
t
o
a
t
o
m parsers
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff K
i
ng
ref-filter: factor out the
p
arsi
n
g
o
f sorting atoms
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-
f
i
lter: make pa
r
se_ref_f
i
lter_atom a priva
t
e functi
o
n
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
ref-filter:
p
rovide a
f
unction for pars
i
n
g sort options
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
ef-filter: move need_color_r
e
s
et_at_eol in
t
o re
f
_format
Signed-off-by: Jeff King <
peff@peff.net
>
commit
|
commitdiff
|
tree
next