repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
resolve_ref(): do not follow incorrectly-formatted symbolic refs
2011-10-05
Mich
a
el Hag
g
erty
r
e
solve
_
ref(): d
o
not foll
o
w in
c
orrectly-for
m
a
tte
d
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michae
l
Hagg
e
rty
resol
v
e_ref(): extra
c
t a function get_packe
d
_ref
(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Hagg
e
rty
res
o
l
v
e_ref(): turn buffer into a proper string a
s
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
M
ic
h
ael Haggert
y
res
o
l
v
e_ref(): o
n
l
y
follow a symlink that contains
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
M
ichael Haggerty
res
o
l
v
e_r
e
f(): use pre
f
ixcm
p
()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mi
c
h
a
el Haggerty
r
e
sol
v
e_ref(): expl
i
citly fail
i
f
a
symlink is not
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Ha
g
gerty
Ch
a
ng
e
che
c
k_refname_format
(
)
t
o re
j
ect u
n
normalized
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mich
a
el
Hag
g
erty
Inlin
e
function
r
efname_format_print
(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mich
a
el
Hagger
t
y
Make co
l
l
apse
_
slas
h
es()
allocate
m
e
m
o
r
y for its re
s
ult
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mich
a
el Hag
g
ert
y
D
o
not allow "
.
lock" at the end of a
n
y refname compo
n
ent
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mic
h
a
el Hagge
r
ty
R
e
factor check_refname_format()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Haggerty
Chan
g
e check_ref
_
forma
t
()
t
o
t
ake
a
fl
a
g
s a
r
gument
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Hag
g
erty
C
h
ange bad_
r
ef_char() t
o
ret
u
rn
a
bo
o
lean
v
alue
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Haggerty
git chec
k
-r
e
f-format: add options --al
l
ow-onele
v
el
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Michael Haggerty
t
14
0
2
:
add some more tests
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-10-05
Mich
a
e
l Haggert
y
get
_
sha1_
h
ex(): d
o
n
ot read past a NUL
c
haracter
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-27
Michael Haggerty
Forbid DEL characte
r
s
i
n referenc
e
names
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-25
Mic
h
ae
l
Hag
g
e
r
t
y
check-ref-format -
-
print: Nor
m
a
lize refnames t
h
at sta
r
t
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-22
Michae
l
H
aggerty
D
o
n
ot u
s
e C+
+
-style comments
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Michael Haggerty
U
n
rol
l
th
e
l
oop over passes
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Michael Haggerty
Change wh
i
le loop into fo
r
loop
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Michael Ha
g
g
e
r
ty
Determi
n
e
the star
t
of the states outside of the pa
s
s
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
M
ichael Haggert
y
C
hange parse_attr() to take a poi
n
ter to struct a
t
tr_state
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Michael Haggerty
I
n
crement num_attr in parse_attr_line(
)
, not parse_a
t
tr()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Michael Ha
g
g
e
rty
Document stru
c
t
match
_
a
ttr
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-14
Mic
h
a
e
l
Ha
g
ge
r
ty
A
d
d
a file comment
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Mich
a
el Haggerty
test-p
a
th-u
t
ils: Add subcomman
d
"pref
i
x_path"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Mich
a
el H
a
gger
t
y
t
est-path
-
utils: Add subcommand "a
b
solute_path"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Hagg
e
rty
git-check-attr: Norma
l
ize paths
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
c
hael Haggerty
git-check
-
attr: Demonstrate
p
r
oblems wit
h
relative
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggert
y
git-che
c
k-attr: Demon
s
tra
t
e problems with unno
r
m
alized
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
chael Hagg
e
rty
git-c
h
eck-attr
:
test that no output is writt
e
n to std
e
rr
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael H
a
ggerty
Rename git_chec
k
attr()
t
o g
i
t_check_attr(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
chael Haggerty
gi
t
-check-att
r
: Fix com
m
and-line h
a
n
dling to matc
h
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael
H
a
gge
r
t
y
git-che
c
k-attr
:
D
r
ive two tests
u
s
i
ng the same ra
w
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Hagg
e
r
t
y
gi
t
-
c
heck-attr
:
Add an --all o
p
t
io
n
t
o
show
all att
r
ibu
t
es
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggerty
git-check
-
attr:
Error
out if no
pathna
m
es a
r
e specified
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael H
a
ggerty
g
i
t-check-attr: Process command-line
args
more sy
s
tematically
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Mich
a
e
l
H
aggerty
git-check-attr:
Handle e
a
ch error separately
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Mic
h
ael Haggerty
gi
t
-check-attr: Extra
c
t
a
f
unction erro
r
_with_usage()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
chael Haggert
y
git-che
c
k-attr:
I
ntro
d
uce a new variable
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
ichael Hagg
e
rty
git-check-a
t
tr:
Ext
r
act a functio
n
output_at
t
r(
)
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggerty
Allow
q
u
e
rying all at
t
ributes
o
n
a file
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggerty
Remove redundan
t
c
h
eck
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggerty
Remove redundant call to b
o
o
tstrap_attr_stack()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Micha
e
l
H
aggerty
E
x
t
ract a function
c
ollect_al
l
_attr
s
()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
ich
a
el Haggerty
Teach prepare_attr
_
sta
c
k() to
f
i
gu
r
e o
u
t dirlen itse
l
f
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
chael Haggerty
git-check-attr: U
s
e
git_attr_name()
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
ich
a
el
Hagge
r
ty
Provi
d
e acce
s
s to the n
a
me attr
i
bute of
g
i
t
_attr
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Haggerty
git
-
c
h
e
ck-attr: Add
tes
t
s o
f
command-lin
e
parsing
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Mi
c
h
ael Ha
g
gerty
git-check-att
r
: Add mi
s
s
ing "&&"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael H
a
ggerty
Disallow the empty
s
t
ring
a
s
an attribute name
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Micha
e
l Hagge
r
ty
Remov
e
anachronism
fro
m
comm
e
nt
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
M
i
chae
l
H
a
gge
r
ty
doc:
C
orr
e
ct g
i
t
_
attr() calls i
n
e
x
ample
code
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-04
Michael Hagger
t
y
doc: Add a l
i
nk from gitattribut
e
s(
5
) to git-c
h
eck
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-03
Michael
H
a
gge
r
ty
g
itattributes: Re
w
o
rd "attribute macro"
to "macro attrib
u
t
e"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-08-03
Michael Hagg
e
rty
gitattr
i
b
u
tes: C
l
ari
f
y discussion of att
r
ibute
macros
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-06-28
Michael Haggerty
git-sv
n
:
Correctly handle root c
o
m
m
its in mergeinfo
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-06-28
Michael
H
agge
r
t
y
git-svn: D
i
sambiguate rev-list arguments to improve
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-06-28
Michael Hag
g
erty
git-svn: Demonst
r
ate a bug with root commits
in mergeinfo
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2011-04-01
Michael Hagger
t
y
git
-
svn: add an optio
n
to skip
t
he creatio
n
of empty
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-22
Mi
c
hael
H
aggerty
rebas
e
-i:
Enclose sed command substitution
i
n quotes
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-22
Michael Haggerty
re
b
a
se -i: Avoid non-portable "t
e
st X -a Y"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
M
ichael Hag
g
erty
reb
a
se -i:
Retain us
e
r-e
d
ited co
m
mit messages
a
f
ter
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Mich
a
el Hagge
r
ty
t3404: Se
t
up mo
r
e
o
f th
e
te
s
t repo
in th
e
"setup"
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Haggerty
re
b
as
e
-i: Fo
r
fixup commands witho
u
t squashes,
d
o
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Mich
a
e
l Haggerty
rebase -i: Cha
n
g
e
function m
a
ke_squ
a
sh_mess
a
ge into
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Micha
e
l Haggerty
r
ebase
-
i
: Ext
r
act function do_wit
h
_aut
h
o
r
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michae
l
Hagge
r
ty
rebase -i
:
Handl
e
the author script all
i
n
one place
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael H
a
ggerty
rebase -i: Extract
a
fun
c
t
i
on "commit_mess
a
ge"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Haggerty
rebas
e
-i: Simplify c
o
mmit counting for generated
c
ommit
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Micha
e
l Haggerty
r
ebase
-
i
: Impr
o
ve consiste
n
cy of comm
i
t count in generated
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
M
i
c
h
a
e
l H
a
gge
r
ty
t
3404: Test the commit cou
n
t in c
o
mmi
t
messages generated
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Haggerty
rebase -i:
Introduce a constant AMEND
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Mic
h
ael Hagg
e
r
ty
rebase -i: Introduce a constant AUTHOR_SC
R
IPT
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Hagger
t
y
r
ebase -i: Document how te
m
p
orary files ar
e
used
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
M
i
chael Haggerty
r
ebase
-
i
: Use symb
o
l
i
c constant $MSG
co
n
s
i
stently
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Hagger
t
y
rebas
e
-i: Use "te
s
t -n" inst
e
ad
of
"
test
! -z"
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Mich
a
el Haggerty
r
e
base -i: Inline expressio
n
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Mi
c
hael Haggerty
rebase -i: Remove d
e
ad c
o
d
e
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-14
Michael Haggerty
reba
s
e -i: Mak
e
the
con
d
ition fo
r
an "if" mo
r
e trans
p
arent
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-12
M
ichae
l
Haggerty
r
e
base
-
i: Ignore c
o
mments and blank lines i
n
peek_next_command
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-12
Micha
e
l H
a
ggerty
lib
-
rebase:
Allow comments and blank l
i
n
es to be a
d
ded
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-12
Michael Haggert
y
l
ib-rebase: P
r
ovide clearer deb
u
g
ging
i
n
f
o about wh
a
t
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2010-01-12
M
i
chae
l
Ha
g
gerty
re
b
ase
-
-
intera
c
tive: Ignore com
m
ents
a
n
d
bla
n
k lines
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-12-07
Michael Haggerty
Add a comm
a
n
d "fixup"
t
o r
e
base --int
e
r
a
ctive
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-12-07
Mic
h
ael Haggerty
t3404: Us
e
test_commit to se
t
up
test repositor
y
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-08-10
Michael Haggert
y
git-svn
:
ignore leading blan
k
lines in svn:ignore
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-02-24
Michael Haggerty
Add a test of "git cvsim
p
ort"'s handling of tags and
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-02-24
Michael H
a
g
g
erty
Add some tests o
f
g
it-cvsimport's handl
i
ng
of v
e
ndor
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-02-24
Michael Hag
g
erty
T
e
st
con
t
ents
of entire cvs
i
mporte
d
"
m
aster" tree
c
onte
n
t
s
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-02-24
Mi
c
h
a
el Haggerty
Use
C
VS's -f option if availabl
e
(ignore user's ~/
.
.
.
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree
2009-02-24
M
i
chael Ha
g
g
e
rt
y
Star
t
a libra
r
y for cvsimpo
r
t-related tes
t
s
Signed-off-by:
Michael Haggerty
<mhagger@alum.mit.edu>
commit
|
commitdiff
|
tree