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
git-jump:
give c
o
ntact instru
c
ti
o
ns in the README
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-13
Je
f
f King
l
i
nk_alt_odb_entrie
s
: make emp
t
y
input a noop
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-11-03
Jeff King
setup: avo
i
d double sla
s
he
s
when looki
n
g for HEAD
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
work
t
re
e
: hand
l
e b
r
oken symre
f
s in find_
s
hared_symr
e
f()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
f
f
K
i
ng
l
og: handle broken H
E
AD i
n
decoration ch
e
ck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff Kin
g
remo
t
e: h
a
ndle br
o
ken symr
e
fs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff
King
test-ref
-
s
tore: a
v
oid pass
i
ng NULL
to print
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
d
iff: hand
l
e NULs in
g
et_stri
n
g_hash()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff
King
diff: fix wh
i
t
espace-skipping with
-
-colo
r
-mov
e
d
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
J
e
ff King
t4015: test the
output of "diff --color-moved -b"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t4015: check "ne
g
a
t
i
v
e" case fo
r
"-w -
-
color-moved"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-21
Jeff King
t
4
01
5
: re
f
actor --c
o
lor-moved whitespace t
e
st
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
t
ag: r
e
spect colo
r
.
u
i config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "co
l
or: check colo
r
.
u
i
in git_de
f
au
l
t_config()"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
Jeff King
Revert "t600
6
: dr
o
p "always" color con
f
ig tests"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-17
J
e
ff King
Reve
r
t "color: mak
e
"always" th
e
s
ame as "auto"
in
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-16
Jeff King
diff: fi
x
i
nfinite l
o
o
p
w
ith
--color-mo
v
ed --
i
gnore
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-14
Jeff
K
ing
revi
s
ion: quit pruni
n
g
d
i
f
f
more quickly when poss
i
bl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-10
J
e
ff King
write
_
en
t
ry: untangle symlink and regular-file cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff
King
write
_
en
t
r
y
: avoid reading
b
lobs
in CE_RETRY case
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-09
J
e
ff Ki
n
g
w
rite_entry:
fix leak when retrying delayed fil
t
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
J
eff King
refs_resolve
_
ref_unsafe: ha
n
dle
d/f conflic
t
s f
o
r w
r
i
tes
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-07
Jeff King
t33
0
8: create a real ref directory/
f
ile co
n
flict
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-06
Jeff King
sha1_loo
s
e_object_info: handle erro
r
s from unpack_sha1_rest
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
path
.
c: fi
x
uninitialized memory a
c
cess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7301: use t
e
st
_
te
r
minal
t
o check color
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
King
t4015: use --
c
olor with --color-moved
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
c
olor: ma
k
e
"
a
lway
s
"
t
he same as "auto" in
c
onfig
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff K
i
ng
provide --color option
for
a
ll ref-f
i
l
ter users
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f King
t320
5
: use -
-
c
o
lo
r
instead of
c
olor
.
bran
c
h=always
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
eff Ki
n
g
t
3
2
0
3: drop "alw
a
y
s" colo
r
test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t6006: drop "always" color config tests
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t7502: use dif
f
.
n
o
pr
e
f
ix for --ver
b
ose test
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff King
t75
0
8: use test_
t
erminal for color output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Je
f
f
K
i
n
g
t3701:
u
s
e tes
t
-
terminal
t
o collect col
o
r out
p
ut
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
J
e
f
f King
t
4
0
1
5
: pre
f
e
r
--c
o
lor to -c color
.
di
f
f=alway
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-10-04
Jeff
K
ing
test-termi
n
al: set TERM=v
t
100
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
git: add --no-option
a
l-loc
k
s option
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
eff King
val
i
date_headref: use get_oid_hex for de
t
ached HEADs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Je
f
f K
i
ng
validate_headref: use skip
_
p
r
efix for sy
m
ref
p
arsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
v
alidate_headref: NUL-terminate HE
A
D buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff
K
ing
wor
k
t
ree
:
c
heck the result of read_in_full()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
J
e
f
f
Kin
g
w
o
rktree:
u
s
e
xsize_t to ac
c
e
s
s file
s
ize
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
d
istinguish er
r
o
r
versus short re
a
d from
read_in_full
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
avoid
l
o
o
king
a
t
e
rr
n
o
f
or shor
t
read_in_full() returns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-27
Jeff King
prefe
r
"!=" when checking read_i
n
_
full
(
) res
u
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
Jeff Ki
n
g
no
t
es
-
merge:
drop
dead zero-writ
e
c
o
de
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-26
J
eff King
files-b
a
ckend: prefer "0" for write_in_full()
e
rror
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-24
Jeff King
doc
:
put
l
iteral block delimiter
a
round t
a
ble
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff King
cons
i
s
t
ent
l
y use "fal
l
through" commen
t
s
in sw
i
tch
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jeff K
i
ng
cu
r
l_t
r
ace(): eliminate
s
witch fallthrough
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
Jef
f
King
tes
t
-line
-
buffer: simplify command parsing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-22
J
eff King
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
f
f K
i
ng
r
e
v
ision: replac
e
"st
r
uct cmdline_pathspec" with argv_array
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
eff King
read_info_alter
n
ate
s
: warn on no
n
-trivi
a
l errors
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-20
J
e
ff King
re
a
d_info_alternates
:
read c
o
nte
n
ts into strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Je
f
f
K
ing
pr
e
fix_ref_i
t
erator: break w
h
en we leave th
e
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 si
g
ned/unsigned comp
a
rison
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff Kin
g
c
onfig: flip r
e
turn
v
alue of store_wr
i
te_*()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
n
o
t
es-merge: use ssize_t for write_in_full() re
t
urn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff K
i
ng
pkt-
l
in
e
: ch
e
ck wri
t
e_in_full() errors a
g
ainst "< 0
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
convert
less-trivial versions of "
w
rite_in_
f
ull
(
)
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
a
void "write_in_full(
f
d, bu
f
, len
)
!= l
e
n" pattern
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
J
eff King
get-tar-commit
-
i
d
: check write_in
_
full()
return ag
a
inst 0
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-14
Jeff King
config:
a
void
"write_in_full(fd, bu
f
, len) < len" pa
t
ter
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
J
eff
King
cvsimp
o
rt: shell-quote va
r
iable used
i
n
b
a
ckticks
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Jef
f
K
i
n
g
arc
h
i
mpor
t
:
use safe_pipe
_
capture for user i
n
put
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-12
Je
f
f King
shell:
drop git-cvs
s
erv
e
r suppor
t
by default
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jeff King
sh
o
rtlog: skip f
o
rmat/p
a
rse ro
u
n
dtrip for i
n
ternal
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-08
Jef
f
King
add UNL
E
AK
annotation for r
e
d
u
cing leak false p
o
s
itives
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jeff Ki
n
g
git_extract_argv
0
_
p
ath: do n
o
thing
w
it
h
out RU
N
TIM
E
_
P
RE
F
I
X
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-07
Jef
f
K
ing
system_path: move
R
UNT
I
M
E
_PREFIX t
o
a sub-
f
unction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
K
ing
rev-
p
a
r
se: don't
tri
m
bis
e
ct
refnames
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
set_git
_
d
ir: ha
n
dle feedin
g
gitdir to
i
tself
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
p
o
sitor
y
:
f
r
e
e fields be
f
ore
o
verwr
i
ting the
m
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
reset: f
r
ee alloca
t
ed
t
ree buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
reset: m
a
ke tree counting less confusing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff Kin
g
config: plug user_co
n
fig leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
upda
t
e-index: fix cache entry leak in
a
dd_one_file()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
add: free leaked pathspec
after add_
f
iles_to_cache()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
King
test
-
lib: set LSA
N
_OPTIONS to ab
o
rt by defau
l
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
test-lib: --v
a
lgri
n
d should n
o
t override --verbose-log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
Kin
g
st
o
p
leaking
l
ock structs i
n
some
s
imple cases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
r
e
f_loc
k
: stop l
e
a
kin
g
lock_files
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: up
d
ate life
t
i
m
e req
u
i
r
e
m
ents in doc
u
m
e
ntation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff
K
i
n
g
temp
f
ile: auto-allo
c
ate tempfi
l
es
o
n heap
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
e
ff King
tempfile
:
remove
d
eactivated list entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
J
eff King
tempfil
e
: use li
s
t
.
h for linked list
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
t
e
mpfile
:
release
d
eactivated strb
u
fs
i
nstead of resetting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff
Ki
n
g
t
e
mpfile:
robustify cleanup handler
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jef
f
King
t
e
m
pfile: fa
c
tor out deactiv
a
tio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempfile: factor out activation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
tempf
i
le: repl
a
ce die("BUG") wi
t
h
BUG()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff Kin
g
t
e
m
pfil
e
:
handle NUL
L
te
m
p
file pointers g
r
acefully
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Je
f
f
King
tempfile: p
r
efe
r
is_tem
p
f
ile_acti
v
e to bare
acce
s
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
lockfile: do no
t
rollback l
o
ck
on failed clo
s
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
n
g
tem
p
file: d
o
not delete tempfile
on failed close
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff K
i
ng
always c
h
eck
retur
n
value of close_temp
f
ile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
veri
f
y_signed_b
u
ff
e
r: pre
f
er
c
lose_te
m
pfile()
t
o
c
lose()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2017-09-06
Jeff King
setup_temporary_sha
l
low: move tempfile struct into
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next