repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'bc/doc-interpret-trailers-grammofix' into maint
2017-09-06
J
e
ff Ki
n
g
repository: free fields before overwr
i
ting
t
hem
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: free al
l
ocated t
r
ee b
u
ffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rese
t
:
m
ake t
r
e
e coun
t
ing less
co
n
fusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
config: plug
user_co
n
fi
g
leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
update-index:
f
i
x
cache ent
r
y leak in add_one_f
i
le()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add
:
free
l
e
aked pathspec aft
e
r a
d
d_files_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
s
t-lib
:
set LSAN_OPT
I
ONS to abort by
d
ef
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
t
e
st-lib: --val
g
ri
n
d should
not override
-
-verbo
s
e-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
stop l
e
aking
l
ock structs in so
m
e simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
ref_lock:
stop leaking
lo
c
k_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
lockfi
l
e
: update lif
e
t
ime requirements
in documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfile: auto-allocate temp
f
i
les
o
n heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: remove deactivated lis
t
entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
King
tem
p
f
i
le: use list
.
h
for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile:
r
elease dea
c
tivate
d
strbufs in
s
t
ead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpf
i
le: robus
t
ify
c
leanup ha
n
dler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
King
tempfile: fact
o
r out deac
t
ivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
te
m
pfile: factor out
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: replace di
e
("BUG")
w
ith BUG(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Ki
n
g
tem
p
file: han
d
l
e
N
ULL tempfi
l
e
p
ointers gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: prefer is_tempfile_active to bare ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
lockfil
e
: do not
roll
b
ack lock on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfi
l
e: do not delete tem
p
file o
n
failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
Ki
n
g
a
lways che
c
k return value of close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
v
e
r
ify_signed_bu
f
fer:
prefer cl
o
se_tempfile(
)
to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_temporar
y
_shallow
:
move
t
empfile struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set
u
p_temporary_shall
o
w: avoi
d
u
s
ing
i
nactive
t
empfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
write_index_as_tree: cleanup temp
f
ile on error
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
con
f
ig: use a static lock_file str
u
ct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-20
Je
f
f King
doc: fix
t
ypo
i
n sendemail
.
identity
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff Ki
n
g
p
r
etty: su
p
por
t
nor
m
a
lization opti
o
ns for %(tr
a
ilers
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Jeff King
t4
2
05: refactor %(trailer
s
) te
s
ts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
Je
f
f
K
ing
p
re
t
ty: move tra
i
ler for
m
atting to trailer
.
c
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
e
ff King
interpret-trail
e
r
s
: add --parse conve
n
ience
o
pt
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff
K
i
ng
interpret-trai
l
ers: add an option
t
o unfol
d
values
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff Kin
g
interpret
-
trailers
:
add an option to show only existing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-15
J
eff King
interpr
e
t-
t
rail
e
rs: add an option to show only
the
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-10
Jeff King
trailer:
put process_tr
a
i
l
ers() opt
i
ons into a struct
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
Jef
f
King
sha1_file
:
dro
p
experimental G
I
T_US
E
_LOO
K
UP
search
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-09
J
eff Ki
n
g
hashcmp: use mem
c
mp
in
s
tead of open-coded loop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
revision
:
do not fallbac
k
to defau
l
t when re
v
_i
n
put_given
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff
K
in
g
rev-l
i
s
t
: don't show us
a
ge when
w
e see empty r
e
f patterns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
Jeff King
rev
i
s
ion
:
add rev_input_give
n
flag
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-08-02
J
e
ff
K
ing
t60
1
8: flesh out empty in
p
ut/ou
t
p
u
t re
v
-list tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
connect:
r
e
j
ect
paths
that look l
i
ke command
l
ine options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
c
onnect:
r
e
ject dashed argume
n
ts for
p
r
oxy c
o
mma
n
d
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
eff K
i
n
g
conne
c
t
:
f
a
ctor out "looks like co
m
mand l
i
n
e
option
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
Jeff King
t
5813
:
a
d
d test for hostname start
i
ng with dash
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-28
J
e
ff King
t/lib-prot
o
-disable: re
s
tore p
r
ot
o
col
.
allow a
f
ter config
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-17
Jeff
K
i
n
g
t:
h
andle E
O
F in t
e
s
t_copy_bytes()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-14
Jeff King
strbu
f
: use d
e
signated initializers in
S
TRBUF_
I
NIT
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-fi
l
t
er:
c
o
n
sult wan
t
_color()
before emitt
i
ng colors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
pretty: respect color settings
for %
C
p
laceh
o
ld
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
rev-l
i
st: pass diffopt->use_c
o
lo
r
s through to pretty
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
e
ff K
i
ng
for
-
each-ref
:
load con
f
i
g earlier
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
color: c
h
e
ck color
.
ui in gi
t
_default_
c
onfig()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff
K
ing
ref-
f
ilter: pass re
f
_fo
r
mat stru
c
t to a
t
om parsers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: f
a
ctor out the parsing of s
o
rting atoms
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
r
e
f-filter: make parse_re
f
_filter_a
t
om a private function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff K
i
ng
ref-f
i
l
ter: provi
d
e a func
t
i
o
n fo
r
pa
r
sing sor
t
options
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jef
f
King
ref-filter: move ne
e
d_color_rese
t
_at
_
e
o
l
i
nto r
e
f_format
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
ref-filter: a
b
stra
c
t ref format
into its own struc
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Je
f
f King
ref
-
fil
t
er
:
s
imp
l
i
fy auto
m
atic color reset
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
t:
u
se test_decode
_
color rat
h
er
t
han literal A
N
S
I
co
d
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
J
eff King
docs/for-
e
ac
h
-ref: upd
a
te pointer to color sy
n
tax
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-13
Jeff King
che
c
k return value o
f
verify_ref_format()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-12
Jef
f
King
gc: run pre-detach
o
per
a
t
i
on
s
under lock
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff K
i
ng
Makef
i
l
e
: disabl
e
unaligned loads with UBSan
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jef
f
King
M
a
k
e
file:
t
urn
o
ff
-
fomit-
f
rame-p
o
inter with
sanitiz
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff
K
ing
Ma
k
efile: add
h
elper for com
p
ilin
g
w
it
h
-fsa
n
i
t
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff Kin
g
test
-
li
b
: turn on AS
a
n abort_on_error by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-10
Jeff Ki
n
g
test-lib: set ASAN_OPTIONS variable befor
e
we r
u
n g
i
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
reflog-w
a
lk: apply --since
/
--u
n
ti
l
to reflog
d
ates
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
K
i
ng
reflog-walk: stop
u
sing fake par
e
nts
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff
King
rev
-
list: c
h
eck refl
o
g
_inf
o
b
efore showing
usage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
eff
K
ing
ge
t
_revisio
n
_1
(
): replace do-whi
l
e w
i
th an e
a
r
ly ret
u
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
log: do
n
ot
free
p
a
r
ents when walking
r
eflog
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
l
og:
clar
i
fy
c
o
m
ment about reflog cycles
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
eff King
branch:
s
et remote color in r
e
f
-filte
r
b
r
a
nch immedi
a
tely
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
Jeff King
br
a
nch: use
B
RANCH_COL
O
R_LO
C
AL
in ref-filter
for
m
at
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-09
J
e
ff Kin
g
bran
c
h:
on
l
y perform HEAD check for
local
b
r
anches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
revision: disallow reflog walking w
i
th revs->limited
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
t1414: d
o
cument some reflog
-
walk odditie
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff Ki
n
g
re
f
log-walk:
i
nclude
a
ll fields when f
r
ee
i
n
g
comp
l
ete_ref
l
ogs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff
King
r
e
f
l
og-wa
l
k
: do
n
't free reflogs a
d
ded t
o
cach
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-07
Jeff King
reflog-w
a
lk
:
duplicate s
t
r
in
g
s
in complete_reflogs
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-07-05
Jef
f
Kin
g
re
f
log-walk: skip ov
e
r d
o
u
b
l
e
-
n
ul
l
oid
due to HEAD
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
Jeff
K
ing
add--inte
r
activ
e
:
q
uote co
m
men
t
Char regex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
Jef
f
King
add--interact
i
ve:
h
andle EOF in prompt_yesno
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-21
Je
f
f Kin
g
doc
s
: up
d
ate
6
4-bit core
.
packedG
i
tLimit defau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
Jeff King
date
:
use localtime() fo
r
"-
l
ocal"
time fo
r
mats
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
Jef
f
King
t00
0
6: check --
d
at
e
=format
z
one
o
f
fsets
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
Jeff King
c
onfigur
e
.
ac: lo
o
sen FREAD_READS_DIREC
T
ORI
E
S
t
est pr
o
g
ram
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
Jeff K
i
ng
diff-h
i
ghlight: spli
t
cod
e
into module
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
Je
f
f K
i
n
g
t: m
o
ve
"
gi
t
add submodule" into test blocks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-15
J
e
ff
K
in
g
add: wa
r
n
when adding an embedd
e
d rep
o
sitory
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-07
Jeff King
sha1dc:
i
g
nore indent-with-no
n
-tab whitespace violations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-06
J
e
ff Kin
g
t
5313: make extended-table test more dete
r
ministic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-05
Jeff King
t0012
:
test "-h" with builtins
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-06-05
J
e
f
f King
git: add hi
d
den --list-builtin
s
opti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next