Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
2b866b92
Commit
2b866b92
authored
Aug 05, 2011
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5VCS: comment about a known bug when parsing git-diff output
parent
a283c9ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
product/ERP5VCS/Git.py
product/ERP5VCS/Git.py
+1
-0
No files found.
product/ERP5VCS/Git.py
View file @
2b866b92
...
@@ -217,6 +217,7 @@ class Git(WorkingCopy):
...
@@ -217,6 +217,7 @@ class Git(WorkingCopy):
template
=
'Index: %%s
\
n
%s%%s
\
n
'
%
(
'='
*
67
)
template
=
'Index: %%s
\
n
%s%%s
\
n
'
%
(
'='
*
67
)
for
diff
in
out
:
for
diff
in
out
:
path
=
diff
[:
diff
.
index
(
' '
)]
path
=
diff
[:
diff
.
index
(
' '
)]
# XXX: the following line fails if only the file mode changes
diff_dict
[
path
]
=
template
%
(
path
,
diff
[
diff
.
index
(
'
\
n
---'
):])
diff_dict
[
path
]
=
template
%
(
path
,
diff
[
diff
.
index
(
'
\
n
---'
):])
return
stat_dict
,
diff_dict
return
stat_dict
,
diff_dict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment