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
clone: do not clean up directories we didn't create
2018-01-03
J
eff
K
ing
cl
o
ne: do not cl
e
an up director
i
es we d
i
dn't
c
reate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
clone: factor out d
i
r_e
x
is
t
s() helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff K
i
n
g
t5600: modernize style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff Ki
n
g
t5600:
f
ix outdated comment about unborn HEA
D
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff King
link
_
alt_o
d
b_ent
r
ie
s
: make empty input a
n
oop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
J
eff King
setu
p
: a
v
oid dou
b
l
e slashes when looking for
H
EAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f King
w
orktre
e
: handl
e
broken symrefs i
n
find_shared_symr
e
f()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
log: ha
n
d
le b
r
oken HEAD in
d
ec
o
ratio
n
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
King
remote: handle brok
e
n symrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Je
f
f
K
i
ng
test-re
f
-
s
t
ore: avoid passing
N
ULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
diff:
handle N
U
Ls in get_st
r
ing_
h
ash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
d
i
f
f
: fix wh
i
t
espace-ski
p
pi
n
g wi
t
h --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jef
f
Ki
n
g
t4015: test the o
u
tput
of "diff --
c
olor-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t401
5
: check "negati
v
e" ca
s
e for "-w --col
o
r
-
moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
King
t4015: r
e
fac
t
or --color-mo
v
ed whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
ta
g
:
resp
e
ct color
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff
King
Revert "color: check
c
ol
o
r
.
u
i in
git_d
e
fault_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
eff Kin
g
R
e
vert "t6
0
06: drop
"always" co
l
or config
tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jef
f
King
Rever
t
"color
:
ma
k
e "always" the
s
ame as "auto" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
dif
f
: fix infinite
loop with
-
-colo
r
-moved --ignor
e
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Jeff
King
write_entry
:
untangle symlink and regular
-
f
i
le
cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
write_entr
y
: avoid reading blobs in C
E
_RE
T
RY
c
as
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
Jeff Kin
g
w
r
ite_entry
:
fix leak when r
e
t
r
yin
g
del
a
yed
f
ilter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Je
f
f King
ref
s
_resolv
e
_
r
ef_unsafe: handle
d/f c
o
nflicts for writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
ff King
t3308: c
r
eate
a real ref di
r
ect
o
ry/file conf
l
ict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loos
e
_
o
bject
_
info:
handle errors fro
m
unpa
c
k_sh
a
1_re
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fi
x
uninitialized memory access
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t730
1
: use t
e
st_terminal to
check
c
o
lo
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t4015: use --color with --col
o
r-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
c
olor: make "
a
lways" the sa
m
e
a
s
"
aut
o
" in config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
provid
e
--color
o
ption
f
o
r all r
e
f-filter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t3205: use
-
-
c
o
lor i
n
stea
d
of colo
r
.
bran
c
h
=
always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t
3203: d
r
op "always" c
o
l
o
r
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f K
i
ng
t60
0
6: d
r
op "alwa
y
s
"
c
o
lor config tes
t
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: use
diff
.
noprefix for --verbose
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jef
f
King
t7
5
08: use test_terminal for colo
r
output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t
3
701: use t
e
st-terminal
t
o
collect color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
ff King
t4015: prefer --c
o
lo
r
to
-
c color
.
d
i
ff=alwa
y
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
test-t
e
rmin
a
l: set
TERM=
v
t100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git:
add --no
-
op
t
ional-lo
c
ks
o
p
t
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
ff King
validate_h
e
adref: use get_oid_hex
for d
e
tached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff
K
ing
v
alidate_headre
f
: use skip_prefi
x
f
o
r symref par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
valida
t
e_he
a
dref:
N
UL-term
i
n
ate HEAD buff
e
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree: check the resu
l
t of
r
ead_
i
n_fu
l
l(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
workt
r
ee:
u
s
e xsize_t to acc
e
ss fil
e
size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
distin
g
uish error ve
r
sus shor
t
read fr
o
m read_
i
n_fu
l
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
a
v
oid looking at errno for shor
t
read_in_full
(
) r
e
tur
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefer "!=" when checking
r
ead_in_full() result
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff King
notes-merge: dr
o
p d
e
ad zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Kin
g
files-backend:
p
r
efer "0" for write_
i
n_f
u
ll
(
)
error
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc:
p
ut lite
r
al
b
l
o
ck
d
elimiter
a
r
o
u
nd
t
able
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
con
s
istently use
"
f
allthrough" c
o
mments in switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
curl_
t
race(): e
l
imi
n
ate switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
i
n
g
test-line-bu
f
fer:
s
implify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cat-file: handle NULL
object_co
n
text
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
Jeff King
r
evision: re
p
lace "st
r
uct cm
d
line_pathsp
e
c
" wit
h
argv_
a
rray
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
re
a
d_info_alte
r
nates: warn on non-trivial
e
rrors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
f
f Kin
g
re
a
d_
i
nfo_alternates: read contents
i
nto
strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
prefix_ref_iterator: bre
a
k
when we leave the prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
read_pack_
h
eader: handle
s
igned/un
s
igne
d
compariso
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config: flip return value of
store_write
_
*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
notes
-
merge
:
use ssiz
e
_
t for write_in_full() return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f King
pkt-lin
e
: chec
k
write_in_full() errors against "
<
0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert l
e
ss-
t
riv
i
al ve
r
sions of "write_
i
n_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f Kin
g
avoid "wr
i
te_in_fu
l
l(fd, b
u
f,
len) != len" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
get-tar-commit-id: chec
k
write
_
i
n
_full() re
t
u
r
n agai
n
s
t
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
conf
i
g: avo
i
d
"write_in_f
u
ll(fd, buf, len) < len"
p
at
t
ern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff K
i
ng
cvsimport:
s
he
l
l-quote variable used in backticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
e
ff
K
i
ng
a
rchimport: use safe_pipe_capture
for user input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
s
h
ell: drop git-cvsserve
r
su
p
port
by def
a
ult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Je
f
f
King
shortlog
:
skip fo
r
ma
t
/parse roundtrip for internal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
add UNLEAK a
n
notation for
r
e
d
u
ci
n
g leak false po
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
git_extrac
t
_argv0_path:
do nothing without RUN
T
I
M
E_P
R
E
F
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
s
y
stem_pat
h
: move RUNT
I
ME_PREFIX to a su
b
-funct
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
re
v
-parse: don't
t
rim
b
i
s
ect ref
n
ames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_g
i
t_dir
:
han
d
le
feedin
g
gitdi
r
to itself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f Kin
g
re
p
o
sitory: f
r
ee
fields befo
r
e overwriting them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
res
e
t:
f
ree allocat
e
d
tree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff Kin
g
res
e
t: make
tr
e
e counting
l
ess
confus
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
confi
g
: p
l
ug user_config
l
ea
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
update-ind
e
x: fix cac
h
e entry
le
a
k
in add_one_
f
ile()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
a
d
d: free l
e
aked paths
p
ec after add_
f
iles_to_cach
e
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
te
s
t
-lib: set LS
A
N_OPTIONS to a
b
o
rt by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
test-lib: --valgrind should
not overrid
e
-
-
ver
b
ose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
st
o
p l
e
a
king lock struct
s
in s
o
me
simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
ref_lock: sto
p
lea
k
ing loc
k
_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: u
p
date life
t
ime requirement
s
in documentat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
ing
tempfil
e
:
a
u
to-all
o
c
ate te
m
pfiles on
heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
t
empfile: remove d
e
acti
v
ated li
s
t entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
t
empfile: use lis
t
.
h for
li
n
ked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tem
p
file:
release deactivated st
r
bufs instead of
re
s
etting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
temp
f
ile: robustify
c
l
eanup handle
r
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempf
i
l
e
: factor
o
ut deac
t
ivati
o
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
tempfile: factor
out
a
ctivation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
m
p
f
il
e
:
r
ep
l
ace di
e
("BUG") wit
h
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le:
handle NULL tem
p
file pointers gracef
u
lly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
tempfile: p
r
e
f
er is_t
e
mpfile_active t
o
bar
e
acces
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockf
i
l
e: do not rollback lo
c
k o
n
faile
d
close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile
:
do no
t
delete tem
p
file on fai
l
ed cl
o
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
always che
c
k return
value of close_
t
e
m
pfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next