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
Jef
f
King
c
l
o
ne: do n
o
t clean up directories we didn't cr
e
ate
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
clone: factor out dir_exists
(
) helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff King
t5600: mod
e
rnize style
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2018-01-03
Jeff Ki
n
g
t5600: fix o
u
tdated comme
n
t ab
o
u
t
unborn HE
A
D
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Jeff Kin
g
link_alt_odb_entries: ma
k
e empty input a noo
p
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
se
t
u
p:
avoid d
o
uble slashes whe
n
looking for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
wo
r
ktree: handle broken
symrefs in find_shared_
s
y
m
ref()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
log
:
handle br
o
ken
H
EAD in decoratio
n
check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
re
m
ote: handle
broken
s
ymrefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff K
i
ng
test-ref-stor
e
: avoid
p
assing NULL to printf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
dif
f
: handle NULs in get_s
t
ring_hash(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
d
i
ff: fix whit
e
space-skipping wit
h
--color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
t40
1
5:
test t
h
e
output of "di
f
f -
-
color-moved -b
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "
n
egative" case for "-w
-
-color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Ki
n
g
t401
5
: refactor --color-m
o
ved
whitespace test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
King
tag:
r
esp
e
ct colo
r
.
ui config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "color: check colo
r
.
ui i
n
git_default
_
conf
i
g()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff
K
ing
R
evert "
t
600
6
: drop "al
w
ays" colo
r
confi
g
tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "colo
r
: mak
e
"always"
the same as "au
t
o" in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fix infinite loop wit
h
--
c
olor-moved --ign
o
re
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
Je
f
f
King
write_e
n
try: untangle syml
i
nk and regular
-
file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff
K
i
ng
w
r
ite_en
t
ry: avoid
r
eadin
g
blobs in C
E
_R
E
TRY c
a
se
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
eff Ki
n
g
wr
i
te_entry: f
i
x l
e
a
k
when retry
i
ng dela
y
ed f
i
l
ter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
e
ff King
re
f
s_r
e
s
o
lve
_
ref_unsafe: handle d
/
f confl
i
cts for
writes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jef
f
King
t3308:
c
rea
t
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
_
o
bject_info
:
h
andle errors from unpa
c
k_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f Kin
g
path
.
c: fix uninitial
i
zed memory ac
c
ess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff Ki
n
g
t
7301: use test_termina
l
to
check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t40
1
5
:
use
-
-color
with --
c
olor-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
color: ma
k
e "alw
a
ys" the same a
s
"auto"
i
n
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
provide -
-
color option for all r
e
f-fil
t
e
r
use
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t3205: use --color instead o
f
color
.
branch=al
w
a
ys
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
ng
t3203:
d
r
o
p
"
a
lw
a
y
s" color test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff
K
i
ng
t6006: drop "alwa
y
s" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502:
u
s
e
diff
.
n
o
p
refix for --verbose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff King
t7508: use test_termin
a
l for co
l
or outpu
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
ing
t37
0
1: use
te
s
t-terminal to collect
c
olor output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t4015:
p
refer --color to -c c
o
lor
.
diff=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff K
i
n
g
t
e
st-
t
ermina
l
: set TER
M
=vt100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
g
it: add --n
o
-optio
n
al-locks o
p
tion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
validate_headref:
use get_oid_hex for detached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
validate_he
a
dref: use skip_pref
i
x
for symr
e
f par
s
in
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jef
f
King
validate_headref:
NUL-
t
erminat
e
HEAD buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktr
e
e: che
c
k the resul
t
of read_in_full(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
worktree
:
use xsize_t to acc
e
ss file size
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
d
i
stinguish error vers
u
s short read from read_in
_
ful
l
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
a
vo
i
d 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 "!=" wh
e
n checkin
g
read_in_full
(
) r
e
sult
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
note
s
-mer
g
e: drop dead zero-write code
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jef
f
King
f
i
les-backend
:
prefer "0" f
o
r write_in
_
full()
e
rr
o
r
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
do
c
:
put literal block de
l
imiter ar
o
und table
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
cons
i
stently use "fall
t
hrough" comments in
switches
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
curl_trac
e
(
):
e
limi
n
ate switch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
test-line-buf
f
er: simplify comma
n
d par
s
ing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff
K
in
g
cat-file: handle NULL o
b
ject_context
.
path
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-21
J
e
ff King
r
e
vision: repl
a
c
e "struct cm
d
line_pathspec"
w
ith a
r
gv_ar
r
ay
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff King
read_info_alter
n
a
tes:
warn on non-trivial errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
Jeff K
i
ng
r
e
ad_info_alt
e
rnates: r
e
ad c
o
n
t
ents into str
b
uf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
p
r
efix_re
f
_iterat
o
r
:
break when
w
e
l
eave
t
he pr
e
fix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
ff King
read_pack_hea
d
er:
h
andle signed
/
un
s
igned compariso
n
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
c
onfig
:
flip
r
eturn valu
e
of store_write_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Ki
n
g
notes-me
r
ge
:
use s
s
ize_t for write_in
_
f
u
ll
(
)
return
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
King
pkt-line: check write_in_ful
l
(
)
error
s
agai
n
st "< 0"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
co
n
vert
l
e
ss-trivial versions
of "write_in_full()
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
K
i
ng
a
void "write_in_fu
l
l
(fd, buf, len) !
=
l
en" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff
King
get
-
ta
r
-
commit-i
d
: c
h
e
ck write_i
n
_full() return against
0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
e
f
f King
con
f
ig: avoid "wri
t
e_in_fu
l
l(fd, b
u
f
,
len
)
< len"
pat
t
er
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff
King
cvsimport: shell-q
u
ote va
r
i
a
ble used in backti
c
k
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff
King
archimport: us
e
safe
_
pipe_capture for us
e
r input
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jeff King
s
h
ell: drop
git-cvsserver
support by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
K
ing
s
hortlog:
s
kip format/p
a
rse roundtrip for inter
n
al
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff
King
add UNLEAK annotation for
r
educin
g
leak false positives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff King
g
it_extract_argv0_path:
do nothing wit
h
o
u
t
RUNTIME_PRE
F
IX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
King
s
y
s
tem_path: move R
U
NTI
M
E
_
PRE
F
IX to a sub-function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Ki
n
g
rev-parse: don't trim bisect refname
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git_dir: hand
l
e fe
e
d
i
ng
gitdir to
i
t
self
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Ki
n
g
repository:
free fields befo
r
e o
v
e
r
writi
n
g them
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
rese
t
: free allocated t
r
ee bu
f
f
e
rs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: make tree counting l
e
ss
c
onfus
i
n
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
K
i
ng
c
o
nfig
:
plug user_config
l
eak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
ef
f
Ki
n
g
u
p
dat
e
-in
d
ex: fix cache entry leak in add
_
one_
f
ile()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked pathspec a
f
ter add_files_to_cac
h
e()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib:
s
et L
S
A
N_OP
T
I
O
N
S
to abort by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test
-
li
b
: --valgrind
should not override --v
e
rbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
st
o
p leakin
g
lock struc
t
s in some
simple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
Kin
g
ref_lock: stop leakin
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockf
i
le: upd
a
te lifetime requirement
s
in
documentation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: auto-alloc
a
te tempfiles on heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: remove deacti
v
ated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
temp
f
ile: use l
i
st
.
h
f
or
linked
list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: release
deactivated str
b
ufs ins
t
ead of re
s
etting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
t
e
mpfile: robustify cleanup han
d
l
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
f
f
Ki
n
g
tempfi
l
e: facto
r
o
u
t de
a
ctiva
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
tem
p
file: factor o
u
t acti
v
ation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
temp
f
ile: re
p
l
a
c
e
d
ie("BUG") with BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile
:
handle NULL
t
empfile pointers grac
e
f
ully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
tempfile: prefer
is_te
m
pfi
l
e_active to b
a
re
a
ccess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfi
l
e: do no
t
rollback lock
on fa
i
led close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff K
i
ng
te
m
pfile
:
do
no
t
de
l
ete
tempfile
on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f King
always check retu
r
n v
a
lue of clos
e
_t
e
mpfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next