repo.or.cz
/
git
/
git-svn.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use xstrdup_or_null to replace ternary conditionals
2015-01-13
Jef
f
Kin
g
use xs
t
rdup_
o
r
_
n
u
l
l
t
o re
p
la
c
e
ternary condition
a
ls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
builtin/commi
t
.
c: u
s
e x
s
t
r
dup_or_null
i
nstead
o
f envdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jeff King
builtin/apply
.
c: use xstrdup_or_
n
u
l
l instead
of null_str
d
up
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-01-13
Jef
f
King
git-compat-util: ad
d
xstrdup_or_null helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-16
Jef
f
King
clean
up n
a
me al
l
o
cat
i
on in p
r
ep
a
re
_
revision_walk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-16
Jef
f
King
object_array: add a "clear" function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-16
Jeff King
obj
e
ct_array: fac
t
o
r
ou
t
slopbuf-freeing logic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-16
Jeff
K
ing
isxdigit: cast i
n
put t
o
unsigned char
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-16
Jeff King
f
oreach_alt
_
o
d
b: propa
g
at
e
return value from
c
allback
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-13
Jeff
King
test-lib
.
s
h
: support
-
x
option for shell-tracing
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-13
Jeff King
t530
4
: use helper to r
e
port
f
a
ilure of "test foo =
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-10-13
Jeff
King
t
5304: us
e
test_pat
h
_is
_
* in
s
tead of "t
e
st -f
"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-18
Jeff King
branch: clean
up commit flags after merge-filter
walk
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-16
Jeff K
i
n
g
cre
d
ential-cache: close
stderr in daemon p
r
ocess
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-16
Jeff Kin
g
mail
i
nfo: make ">F
r
om" in-body he
a
d
er
check m
o
re robus
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-15
Jeff King
server-info: clean
u
p aft
e
r
w
riting info/packs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-15
Je
f
f
King
m
a
k
e upda
t
e
-server-info more
r
obu
s
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-15
Jeff King
p
r
une-pac
k
ed: fix
m
inor
memo
r
y leak
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-12
Jeff
King
refs: speed up is_r
e
f
name_
a
vailable
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-12
Je
f
f Kin
g
fs
c
k: return non-zero s
t
atus on missing
ref
t
i
ps
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-11
Jeff King
config: av
o
id a funny se
n
tine
l
v
alue
"a^"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-10
J
ef
f
King
refs: wri
t
e packed_refs file u
s
i
ng
stdio
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-09-10
Jeff Kin
g
fsck: exit with non-zero s
t
atus u
p
on e
r
ror f
r
om fsck_obj()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-29
Jeff King
i
n
d
ex-pack:
fi
x
race c
o
ndi
t
ion with
duplic
a
te bases
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-29
Jeff King
determine_a
u
t
h
or_info(
)
:
c
o
py getenv output
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-29
Jeff King
determine_au
t
hor_info(): reuse
p
a
rsin
g
f
uncti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-28
Jeff King
docs/fast-export: explain --anonymize more comple
t
e
l
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
teach fast-export an --a
n
onymize op
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
date: use strbufs in date-fo
r
matting funct
i
ons
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff K
i
ng
r
e
c
ord_a
u
thor_date
(
)
:
use f
i
nd_commit_heade
r
()
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
record_author_date(): fi
x
memory leak on
malfor
m
ed
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
comm
i
t: pr
o
vide a function to find a hea
d
er in a buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-27
Jeff King
log-
t
ree: use FLEX_ARRAY in name_decoratio
n
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-26
Jeff King
send-pack
:
t
a
k
e refspecs over
s
tdin
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-26
Jeff King
Make
f
ile: drop
CHE
C
K_HEADER_DEPENDENCIES
co
d
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-26
Jeff King
log-tree: make name_decoration hash static
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-26
Jeff Ki
n
g
log-
t
r
ee: make
add_
n
a
me_deco
r
a
t
ion
a public fu
n
ction
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-25
Jeff
King
M
akefile: use `fi
n
d` to deter
m
ine sta
t
ic header
d
epende
n
c
i
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-25
Jeff Kin
g
git-prompt: do no
t
l
ook f
o
r r
e
f
s
/sta
s
h
i
n
$GIT_D
I
R
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-25
Jeff K
i
ng
fa
s
t-import: fix buffer overflow in dump_
t
ags
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-25
Je
f
f King
fast-import: clea
n
up pack_d
a
ta pointe
r
in end_packfile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-25
J
e
ff
K
ing
pack-r
e
fs:
pr
u
ne top-level ref
s
lik
e
"re
f
s/foo"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-21
Jeff
K
in
g
h
ttp:
style f
i
xes for
c
url_multi_init error check
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-20
Jeff K
i
ng
in
t
erse
c
t_paths:
r
espect mode in git'
s
tree-sort
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-19
J
ef
f
King
M
a
kefile: make perf tests optional for profile b
u
ild
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-18
Jeff
K
i
ng
s
u
b
t
r
e
e: m
a
ke
"al
l
" default target of Makefile
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-12
Je
f
f
King
pack-obj
e
c
t
s:
t
urn
o
f
f bitma
p
s
when we se
e
--s
h
allow
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-08-07
J
eff
King
stash: de
f
ault listing t
o
w
o
rk
i
ng-tree diff
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jeff King
pretty:
m
a
ke empty
u
serfo
r
mats truly empty
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jeff Kin
g
pre
t
ty: tr
e
at "
-
-forma
t
="
a
s
an empty u
s
erf
o
rmat
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-30
Jef
f
King
revision: dro
p
useless string offs
e
t w
h
en parsing
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t4013: test
d
iff-tr
e
e's --stdin commit f
o
rm
a
tting
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
t1
4
02: che
c
k for
refs endi
n
g w
i
th a dot
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff Kin
g
diff
-
tree: avoid l
o
o
kup_
u
nknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff
King
object_as_ty
p
e: set commit in
d
ex
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jef
f
King
alloc: facto
r
ou
t
commi
t
index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
add obj
e
ct_as_type helper
f
o
r
casting
objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff King
parse_o
b
ject_buffer: do not s
e
t obje
c
t type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff K
i
ng
m
ove se
t
ting of obje
c
t->type to
alloc_* fu
n
cti
o
ns
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-28
Jeff Ki
n
g
alloc:
w
rite
o
ut allo
c
ator definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Kin
g
a
p
ply:
avoi
d
possible b
o
gus
p
ointer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
fix memory
l
eak pa
r
sing core
.
com
m
entchar
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff
K
ing
transport: f
i
x
leak
s
in re
f
s_fr
o
m_alterna
t
e_cb
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff King
fre
e
ref s
t
r
i
ng
r
eturned by dwim_ref
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-24
Jeff Ki
n
g
recei
v
e
-pack: don't copy
"
d
i
r" para
m
e
ter
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
t5539: update a flaky
test
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
paint_down_to_common: use prio_q
u
eue
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
prio-queue: make out
p
ut stab
l
e with respect to
i
nsertion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-15
Jeff King
prio-queue: factor out compare an
d
swap o
p
eratio
n
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
di
f
f
-
t
r
ee: avoid lookup_unknown_object
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
object_as_type: set
commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff K
i
ng
alloc: factor
o
ut commit index
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
J
e
ff King
add
o
bject_a
s
_type help
e
r
fo
r
c
a
s
ting objects
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
parse_object_buffe
r
: do no
t
set obje
c
t type
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
move
s
e
t
ting of object->type to alloc_* functions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-14
Jeff King
alloc
:
write
o
ut allocat
o
r
definitions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff K
i
ng
tag: use skip_prefi
x
instead of
m
agic num
b
ers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f K
i
ng
remote-curl:
mark
h
elper-protocol err
o
rs more clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Je
f
f K
i
ng
remo
t
e-curl: use error instead of fprintf(std
e
rr)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-10
Jeff King
re
m
ote-curl: do not com
p
lain on EOF from parent git
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-07-02
Jeff King
t7300: repair filesys
t
em permissio
n
s
with test_when_fi
n
ished
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
prepare_packed_git_one: ref
a
ctor dupli
c
ate-pa
c
k che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
ff King
verify
-
pack: use strbuf_st
r
ip_suff
i
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff K
i
ng
strbuf:
imple
m
ent strbuf_strip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
index-pack: use strip_suffix
t
o
avoid magic numb
e
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
use
s
tr
i
p
_
suffix in
s
tead of
e
nds_with in simple ca
s
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
J
e
f
f
K
i
n
g
replace
h
a
s
_extension
wi
t
h
e
n
d
s_wi
t
h
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff King
i
mpl
e
ment ends_with via
st
r
ip_suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-30
Jeff
K
ing
add strip_suf
f
ix function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: add a -
-
raw mo
d
e
for --
e
dit
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff Kin
g
replace: use argv_array in export_o
b
ject
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
J
eff King
a
void do
u
ble cl
o
s
e of d
e
scriptors handed to run_co
m
mand
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
replace: re
p
la
c
e spaces w
i
t
h tab
s
in indentat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Je
f
f
King
mo
v
e
"
%G" f
o
rmat te
s
t from t
7
5
10 to t
6
006
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-25
Jeff King
setup_git_env(): introduce
git_path_fro
m
_env
(
) helper
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
J
eff King
h
t
t
p
-push: ref
a
ct
o
r parsing of r
e
mote object na
m
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
us
e
skip_prefix to avoid repeated calculations
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Je
f
f
King
g
i
t
: avoid magic nu
m
ber wi
t
h
s
k
ip_prefix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jeff King
fetch-pack: refact
o
r pa
r
sing in get_a
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2014-06-20
Jef
f
King
f
ast-
i
mp
o
rt: refac
t
or parsing of s
p
ac
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next