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
checkout: factor out functions to new lib file
2017-11-21
Jeff King
g
i
t
-
jump: give cont
a
c
t
instructions in th
e
README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link_alt_odb_entries:
m
a
ke e
m
pty input
a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff
K
i
n
g
se
t
up:
avo
i
d do
u
bl
e
slas
h
e
s
when looking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
King
worktree
:
ha
n
dle b
r
oken symre
f
s in f
i
nd_s
h
ared_symre
f
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: h
a
ndle brok
e
n HEA
D
in de
c
oration check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote
:
h
a
n
d
l
e broken s
y
mr
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
tes
t
-ref-sto
r
e
:
avoid passi
n
g
N
U
LL to p
r
intf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
diff: handle NULs
i
n
g
e
t
_string
_
hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
diff
:
fix whitespace-s
k
i
ppi
n
g with --color
-
moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4
01
5
: test the output o
f
"diff --col
o
r-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t401
5
:
c
heck "neg
a
tive" case for "-w --color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
t4015: refa
c
tor --co
l
or-mov
e
d whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff K
i
ng
tag
:
respe
c
t color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
evert "co
l
or: check color
.
ui
i
n git_default_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff Kin
g
Re
v
ert "t6006: dro
p
"a
l
w
ays" c
o
lo
r
con
f
i
g
tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
R
e
vert "co
l
or: make
"alwa
y
s" the same
as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infin
i
t
e loop
with --
c
olor-moved --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
J
e
ff King
revision: quit
pruning diff more q
u
ickly when pos
s
ible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
e
ff
King
write_entry: untangle symlink and reg
u
lar-fi
l
e c
a
ses
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff
K
ing
write_entry:
a
void reading
blobs in CE_RE
T
RY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff Ki
n
g
wri
t
e_
e
n
try: fi
x
l
eak when retrying delayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
refs_resolve_ref_unsafe: handle d/f
co
n
flicts for
wri
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t
3
308:
create a rea
l
r
e
f direct
o
ry/f
i
le
conflict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_object_info
:
ha
n
dle
e
rrors fro
m
unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
pa
t
h
.
c: f
i
x
unin
i
ti
a
lized memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
King
t7301: use t
e
st_t
e
r
minal to check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t4015: u
s
e --color with -
-
color-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
color:
mak
e
"
a
lw
a
ys"
the
s
a
me as "
a
uto" in
co
n
f
i
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
p
r
ov
i
de --c
o
lor option
f
or
all
ref-fi
l
ter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t32
0
5: us
e
--color instead of color
.
branch
=
al
w
a
ys
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3203:
d
r
o
p
"a
l
ways" color
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
Kin
g
t60
0
6
:
dro
p
"always" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t
7
502: use diff
.
nop
r
efix for
--verbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t7508: use test_terminal
f
o
r color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3701: use t
e
st
-
t
e
r
m
inal to col
l
ect
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff Kin
g
t4015: prefer --colo
r
to -c
colo
r
.
d
iff=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
est-terminal:
s
et TERM=vt1
0
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add
-
-no-opti
o
nal-loc
k
s option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validate_head
r
e
f
: use
g
e
t_oid
_
h
e
x
for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_headref: us
e
skip_prefix for sy
m
ref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
val
i
date_headref: NUL-ter
m
inate HEA
D
buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktr
e
e: 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
w
o
rktre
e
: u
s
e x
s
ize_t to a
c
cess fi
l
e size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
dist
i
nguish
e
r
ror
ver
s
us short read from read_in
_
full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoi
d
l
o
oking at er
r
no
f
or short read_i
n
_full(
)
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
p
refer "!=" when c
h
ecking
read_in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
e
ff Kin
g
note
s
-
m
erge: dr
o
p dead zero-writ
e
code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff K
i
ng
f
iles
-
backend: pref
e
r "
0
" for writ
e
_in_full()
e
rr
o
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc: put
l
iteral block de
l
im
i
ter
aroun
d
t
able
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
i
ng
consistently use "fallthro
u
gh"
comm
e
nts in
switc
h
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Je
f
f King
curl_trace(): elimina
t
e
swi
t
ch
fa
l
lth
r
ough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-
b
uffer: s
i
mplify comm
a
nd parsin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff
King
ca
t
-file: hand
l
e
N
UL
L
object_c
o
ntext
.
p
ath
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revisi
o
n: replace "struct cmdline_path
s
pec" wit
h
argv_arr
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
rea
d
_info_alter
n
ates: war
n
on n
o
n-trivial error
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_i
n
fo
_
alternates: read co
n
tents into st
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff K
i
ng
prefix_ref_ite
r
ator: break when we
l
eave the pref
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
read_pack_hea
d
er: handle signed/unsigne
d
comparison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jef
f
King
co
n
fig: flip return
value of store
_
write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
n
o
te
s
-merge: use
s
si
z
e
_
t
f
o
r write_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
pkt
-
l
ine:
c
h
ec
k
w
r
i
te_i
n
_full(
)
erro
r
s
a
gainst
"< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
c
o
nvert less-
t
rivial versio
n
s of "write_in
_
full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "write_in_
f
ull(fd, buf
,
l
en) !=
l
e
n
" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
get-ta
r
-commit-id: chec
k
wri
t
e
_in_
f
ull() r
e
turn again
s
t 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: avoid "
w
r
i
te_in_full(fd, buf, len) <
l
en" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
cvsimport:
shell-quote variab
l
e
u
s
e
d in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
K
ing
archimport: use
safe_pipe_c
a
pture for user inp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
sh
e
l
l
:
drop gi
t
-cvsserver
s
upport by
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
shortlog: skip format/parse rou
n
dtrip for inte
r
nal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
i
ng
add UN
L
EAK annotation for
reduc
i
ng leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
K
i
ng
git
_
extract_argv
0
_
path: do not
h
ing without RUNTIM
E
_PREF
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff
King
system_path: m
o
ve RUNT
I
ME_PREFIX to a sub-f
u
nction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
rev-parse: don't trim b
i
sect ref
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
se
t
_git
_
dir: han
d
le feeding gitdir t
o
itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
ing
r
e
pos
i
tory: free fiel
d
s before overwriting t
h
em
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
reset: free al
l
ocat
e
d
tree
b
uf
f
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rese
t
: make tree countin
g
less c
o
nfusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
King
c
onf
i
g:
p
lug
u
ser_
c
onfig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update
-
index: fix cache entry leak in add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
a
d
d: free leaked pathspec after
add_fi
l
es_to_cac
h
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
te
s
t-li
b
: set LSAN_
O
PT
I
ONS to abort
b
y
def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
K
ing
te
s
t-l
i
b:
--valgrind should not overr
i
de -
-
ve
r
bose-l
o
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
stop
l
eaking lock
s
t
ruct
s
in some si
m
ple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lock: stop leakin
g
loc
k
_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
K
ing
lockfile:
u
pdate l
i
f
e
tim
e
requir
e
ments in
d
o
cumen
t
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
temp
f
ile: auto-allocate te
m
pfil
e
s
on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: remove de
a
ctivat
e
d list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
tempfile: u
s
e li
s
t
.
h for linked
li
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: release deacti
v
ate
d
strbufs instead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file: factor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
tempfile: factor out
activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
te
m
p
fi
l
e: replace
d
ie("BUG
"
)
with B
U
G()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: handle NULL t
e
mpfile
p
oi
n
ters gracefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
i
n
g
tempfile:
p
refer
is_tempfile_ac
t
i
v
e to b
a
re ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile:
d
o not rollback
l
ock on fail
e
d close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
empfile: d
o
not de
l
e
te t
e
mpfile o
n
failed
c
lo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
lways check retu
r
n value
o
f
close_tempfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
veri
f
y_signed_buffer: prefer close_
t
empfile() to close()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
setup_temporary_shal
l
ow: mov
e
tempfile struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next