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
Merge branch 'sb/test-submodule-update-config'
2017-09-27
Jef
f
King
git: add -
-
n
o
-op
t
ional
-
locks
o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validat
e
_h
e
a
d
r
e
f: use
g
et_oid_
h
ex
f
o
r
detac
h
e
d HEA
D
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
v
a
li
d
at
e
_headref: use skip_prefix for symref par
s
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
val
i
date_
h
eadref: NUL-
t
er
m
i
n
a
t
e
HEAD
b
uffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
workt
r
ee:
c
heck the result
o
f read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: use xsize_t to access file siz
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distinguish e
r
r
or versus short
r
ead
from read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
av
o
id looking at
errno for sho
r
t read_in_full
(
)
r
eturns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
pr
e
fer "!=" when checking read_in_f
u
ll
(
)
res
u
lt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff
King
notes-
m
erge:
d
rop d
e
a
d
zero-write
c
ode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
f
iles-back
e
nd: prefer "0" for
w
r
ite_in_full() er
r
or
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff Kin
g
do
c
: pu
t
l
i
tera
l
block
d
eli
m
iter around table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
consist
e
ntly use "fal
l
through"
comments i
n
switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
Ki
n
g
c
url_
t
race(
)
: elimina
t
e
swit
c
h f
a
l
l
thro
u
gh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
test-line-buffer: simpl
i
fy com
m
and p
a
rsi
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: ha
n
dle NULL objec
t
_conte
x
t
.
pat
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
e
vision: replace "struct cmdl
i
n
e_pa
t
hspe
c
"
with argv_
a
rra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff K
i
n
g
rea
d
_
info_alternates:
warn on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alterna
t
es: read contents
i
nto
strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff
K
ing
rea
d
_p
a
ck_header
:
hand
l
e signed/u
n
sign
e
d comp
a
r
i
son
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
config: flip retur
n
v
a
lue of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
te
s
-m
e
rge: u
s
e ssize_t for write
_
in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
pkt-line: check
w
ri
t
e
_
in_full() errors
a
g
a
inst
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert le
s
s-trivial versions of "write_
i
n
_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
avoid
"
write
_
in_full(fd, buf, le
n
)
!= l
e
n" pat
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Ki
n
g
get-tar-commit-id: check write_i
n
_full()
r
e
t
u
r
n
a
gai
n
st 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
co
n
fig: avoid "w
r
ite_in
_
full(fd, buf, le
n
) < le
n
"
p
attern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cv
s
imp
o
rt: she
l
l-quote var
i
abl
e
used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff Ki
n
g
archimport: use
s
af
e
_pipe_captu
r
e for user
i
nput
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
shell: drop
g
it-c
v
ss
e
r
ver
support by
d
e
fault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
K
i
n
g
shortlo
g
: ski
p
forma
t
/pa
r
s
e round
t
r
ip
f
or internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
ff King
add UNL
E
AK
a
nnotation for reducing
leak fal
s
e positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
g
i
t
_
extract_argv0_path: do nothing wit
h
out
RU
N
TIME_PREFIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
system_path: move R
U
NTIME_PREFIX to a sub
-
function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
r
e
v
-parse: don'
t
trim bise
c
t
refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: han
d
le
f
e
e
ding
g
it
d
ir to itse
l
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
repository: free fields before overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: f
r
ee a
l
located tree buffe
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t
: make tr
e
e
counting
l
e
s
s
confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
c
o
n
f
ig: plug us
e
r_config leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
update-ind
e
x
:
f
ix cache ent
r
y leak in add
_
one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d:
f
r
e
e
leak
e
d pathspec a
f
t
er add_files
_
to
_
c
a
che()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-li
b
: set LSAN
_
OP
T
IO
N
S to abort
b
y default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
test
-
l
i
b:
--valgrind should not override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
stop le
a
k
i
ng lock structs i
n
some simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
f_lock:
stop l
e
aking
lock_fi
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: update l
i
fetime r
e
q
u
irements in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
:
a
uto-all
o
c
a
t
e te
m
pfiles on
heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
temp
f
ile: remove
deactivated list e
n
trie
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
m
p
f
ile: use list
.
h for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
te
m
pfile: release deactivat
e
d strbufs inst
e
ad of re
s
e
t
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e:
robustify cleanup handl
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
te
m
pfile: fac
t
or
o
ut d
e
acti
v
a
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfil
e
:
f
actor ou
t
activa
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: replace di
e
("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: handle NULL
tempfi
l
e
poi
n
t
e
rs g
r
acefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfil
e
: prefer is_temp
f
ile_active to bare access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lock
f
i
le:
do not rollb
a
ck lo
c
k on failed
c
lose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
te
m
p
f
ile: do
n
ot delete tempfile on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
always ch
e
ck return
v
alue of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
verify_si
g
ned_bu
f
fe
r
: prefer close_t
e
mpfil
e
(
) to close(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
setup_tempor
a
r
y
_s
h
allow: mov
e
tempfi
l
e struc
t
into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
setup_t
e
mporary_shallow: avoid using
i
nact
i
ve tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
write_index_as_tree: cleanup tempfile on err
o
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
c
onfig: u
s
e
a
s
t
atic lock
_
file struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Jeff
K
i
ng
do
c
: f
i
x typo in sendemail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
p
r
e
t
ty: support norma
l
izat
i
on opt
i
o
n
s f
o
r %(tr
a
ilers)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff
K
ing
t4205: refa
c
tor %
(
t
railers)
t
ests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Kin
g
pretty: move trailer
f
orm
a
tting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
i
nterpret-traile
r
s: add --parse c
o
nve
n
ience option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f
King
i
n
terpre
t
-tra
i
lers: add an
opti
o
n
to unf
o
ld
v
a
lue
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
in
t
er
p
r
e
t-trailers:
a
dd
an option to show only ex
i
sting
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
interpret-trailers: add an opti
o
n to show on
l
y the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff K
i
ng
trailer: put p
r
o
cess_trailers() options into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
eff Kin
g
sha1_file: drop experi
m
en
t
al GIT_USE_LOOKUP search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jeff King
h
a
shcmp: use
m
emcmp ins
t
ead
o
f open-coded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
revision: do not
fallback to default whe
n
rev_input_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev-list:
d
o
n't show usage
w
hen
w
e
s
ee empty ref patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff Kin
g
revision: ad
d
rev_inpu
t
_given flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
ing
t6018:
fl
e
sh out empty input/outpu
t
r
e
v-li
s
t tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
connect:
reject paths
that look
l
i
k
e
c
omman
d
line options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff
K
ing
connect: rej
e
c
t
das
h
ed a
r
guments for p
r
ox
y
commands
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connec
t
: factor out
"
l
o
oks li
k
e c
o
mmand
l
ine
opti
o
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Je
f
f Kin
g
t
5813: add t
e
st
f
o
r
hostname starting
w
ith d
a
sh
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t/lib-proto-disable: restore protoc
o
l
.
allow after config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff King
t: handl
e
E
O
F in test_copy_bytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Je
f
f Ki
n
g
strbuf: us
e
desi
g
n
ated initializers in STRBUF_INIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
K
i
n
g
r
ef-filter: con
s
ult want_colo
r
() b
e
fore emitt
i
ng colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
pre
t
ty: respec
t
color se
t
tin
g
s for %C p
l
a
c
eholders
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
r
e
v
-list: pa
s
s
d
iffopt-
>
use_colors thr
o
ugh to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
for-e
a
ch-ref
:
l
o
ad c
o
nf
i
g
e
arlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff
King
colo
r
: check color
.
ui
i
n git_default
_
co
n
fig()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Ki
n
g
ref
-
fi
l
t
er: pass ref_format s
t
ru
c
t to atom
parse
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: fa
c
tor out the parsing of sorting
a
toms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff
K
ing
ref-filter:
make parse_ref_
f
i
lter_atom a pr
i
vate function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
e
f-fil
t
er: provide a fun
c
tion for p
a
r
s
ing
so
r
t options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff Kin
g
ref-
f
ilter: move
need_color_reset
_
at_eol into ref_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff King
re
f
-
f
ilter
:
abs
t
ra
c
t
r
ef format into its own struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: simplify automat
i
c co
l
or r
e
set
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
t: use te
s
t_de
c
od
e
_c
o
lor rather than lite
r
al
ANSI codes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next