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
decorate: clean up and document API
2017-11-22
Jef
f
K
ing
sha1_file: fast-path n
u
ll sha1 as a m
i
ssing object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
everything
_
local: u
s
e "qu
i
ck" obj
e
c
t
existence check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
J
e
ff Ki
n
g
p
5551:
a
dd a scr
i
pt
t
o t
e
s
t
f
e
tch pack-dir
rescans
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
t/perf
/
lib-pack: use fa
s
t
-import ch
e
ckp
o
int to crea
t
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff K
i
ng
p5550: fac
t
o
r
ou
t
nonsense-
p
ack creation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-21
Jeff King
git-jump: give co
n
t
act
i
nstructions in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff K
i
ng
link_alt_
o
db_entries: make
e
m
pty i
n
put
a noo
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
e
ff
King
se
t
up: avoid d
o
uble
s
l
a
shes
when look
i
ng for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
work
t
ree: h
a
ndle
b
roken
sy
m
refs in find_shared
_
s
y
mre
f
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log:
handle
b
r
oken HEAD in de
c
o
r
ation
c
heck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
remote: h
a
ndle bro
k
en symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t
e
st-ref-store: avoid passing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff: handle NULs in g
e
t_str
i
ng_hash
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
eff King
di
f
f: fix whitespace-skipping with --col
o
r
-
m
o
v
ed
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: t
e
st the output of "d
i
ff --co
l
or-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "negativ
e
" case for "-w --color-m
o
ved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015:
r
efactor
-
-color-moved whit
e
space
t
est
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff
King
t
ag: respect color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color:
c
heck color
.
ui
i
n git
_
defa
u
l
t_
c
onfig()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t6006: drop "always" color config
t
e
sts"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
Revert "color:
make
"
always"
the s
a
me a
s
"au
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
d
i
f
f
:
f
ix infin
i
te loop with --col
o
r-m
o
v
e
d --ignore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff King
revision: qui
t
prunin
g
diff more quickly w
h
en possible
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff King
write_entry: untangle symlink and
r
egular-fi
l
e
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_
e
ntry: avoi
d
reading blobs in
C
E
_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff King
write_entry: f
i
x lea
k
whe
n
retry
i
ng
d
elayed filter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
K
ing
refs_resolve_
r
e
f
_
u
nsafe: h
a
ndle d/f conflicts f
o
r
w
r
ite
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff K
i
ng
t3308: creat
e
a real ref directory
/
file con
f
lict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loose_obj
e
ct_info: ha
n
dle errors from unpac
k
_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
path
.
c: fix uninitialized memory
a
cce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7301: use test_termi
n
al to ch
e
ck c
o
lor
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t4015: use
-
-col
o
r w
i
t
h
--color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
o
lor: mak
e
"always"
the same
as "auto" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
provide --co
l
or option for
a
l
l re
f
-filter
users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t3205: use -
-
color
i
n
stea
d
of color
.
bra
n
c
h
=a
l
ways
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
t3203: dr
o
p "
a
l
w
a
y
s" color t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t600
6
: drop "a
l
ways" c
o
l
or
c
onfi
g
tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff Kin
g
t7
5
02: us
e
diff
.
nopr
e
fix for --verbo
s
e test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7508: use te
s
t_termina
l
for col
o
r
ou
t
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t370
1
: u
s
e test-term
i
nal to collect col
o
r output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
King
t4015: prefer
-
-color
t
o -c color
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
test-terminal: set TE
R
M=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add
-
-
no
-
optional
-
locks
o
ptio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valid
a
te_he
a
dref
:
use get_oid_hex
f
or detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
alidate_hea
d
ref
:
use
s
kip_
p
refix
f
o
r
symref parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f King
validate_headref: NUL
-
t
e
rminate HEAD
b
uf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
King
worktree: check
the result of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
King
wor
k
tree: use
x
size
_
t to acces
s
file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distinguis
h
error versus short read from read
_
in_
f
ull()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid looking at errno for short read
_
in_fu
l
l()
returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!=" when
c
he
c
king read_in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff K
i
ng
not
e
s-merge: drop
dead z
e
ro-write co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
files-backend
:
prefer "0" for write_
i
n
_
full() error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
put
literal
block de
l
imiter
a
roun
d
tab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
c
onsis
t
ently use "fallthrou
g
h" co
m
ment
s
i
n
switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff Kin
g
curl_trace()
:
e
liminate
swi
t
c
h fallth
r
oug
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
t
e
s
t-line-buffe
r
: s
i
m
pl
i
f
y comma
n
d
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
c
at-file: handle NULL object_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
revision: replace "struct cmdl
i
ne_paths
p
e
c
"
with argv_arra
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff
King
r
e
ad_i
n
fo_alternates: warn
o
n
non
-
trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff Ki
n
g
read_info_alterna
t
es: read c
o
ntent
s
i
n
to s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
Kin
g
prefi
x
_
r
ef_iterator
:
break when w
e
leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
rea
d
_
p
ack_header:
h
andle si
g
ned/unsigned compariso
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
f
lip retur
n
v
alue of
store_w
r
ite
_
*
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
notes-merge:
use ssize_t for writ
e
_in_full() r
e
turn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
pkt-line: ch
e
ck write
_
in
_
full() errors agains
t
"<
0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
con
v
ert
l
ess-trivi
a
l v
e
rsi
o
n
s
of "w
r
ite_in_ful
l
()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
avoid "
w
rite_
i
n_full(fd, buf, len
)
!= len" pat
t
e
rn
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff Ki
n
g
g
et-tar-commit
-
id: check write_i
n
_full() retur
n
agai
n
st 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
co
n
f
i
g
:
a
void "
w
rite_in_full(f
d
, buf, len
)
<
len"
pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f
K
ing
cvsimport: shell-quote variable u
s
ed
i
n
b
acktic
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff Ki
n
g
archimport: use safe
_
pi
p
e_
c
apture for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
shell: drop
g
it-c
v
sserver
s
upport
b
y
default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
J
e
f
f
K
i
n
g
sh
o
rtlog: s
k
ip format/parse roundtrip for
i
n
ternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
add U
N
LEAK annotation for reducing leak f
a
l
s
e
p
ositives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extract_argv0_pat
h
: do nothing without RUNTIME_PR
E
FIX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
y
st
e
m_path
:
move RUNTIME_PREFIX t
o
a sub-funct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
v-parse: don't trim bisect
re
f
names
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f King
set_git_dir: h
a
ndl
e
feedi
n
g gitdir to it
s
elf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
repository: free fi
e
ld
s
befo
r
e ov
e
rwr
i
ting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
eset: free al
l
o
ca
t
ed tree
b
uffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Kin
g
reset: ma
k
e tree c
o
u
n
ting less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
config: plug user_config
l
eak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
update
-
in
d
ex: fix cache entr
y
leak in add_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked
p
a
thspec afte
r
add_files_t
o
_cac
h
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
s
t-li
b
: set LSAN_OPTIONS to abort by de
f
ault
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
test-lib: -
-
va
l
grin
d
should not overr
i
de
-
-
verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
stop l
e
aki
n
g lock s
t
r
u
c
ts in som
e
simple ca
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
ref_lo
c
k:
st
o
p leaking lock
_
files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
i
ng
lockfile: upd
a
te l
i
feti
m
e
r
e
q
u
i
rements in do
c
um
e
nt
a
ti
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-all
o
c
a
t
e
t
empfil
e
s on he
a
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le:
r
emove deac
t
ivated list e
n
tries
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
Jeff Kin
g
t
e
m
p
f
ile: release
deact
i
vated strbufs i
n
stead of
r
ese
t
ting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
tempfile: robustify cle
a
n
u
p
handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
temp
f
ile: f
a
ctor out deactivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff
Kin
g
tempfile: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
t
empfile: replac
e
die("BUG"
)
with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
tempfile
:
handle NU
L
L t
e
mpfile pointer
s
gracef
u
l
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
t
e
mp
f
ile:
prefer is_tempfile_active to bare
a
ccess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next