Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
85b7268e
Commit
85b7268e
authored
Jul 23, 2014
by
Alan Rogers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo indentation change in diff_print.c
parent
7d0ab0fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/diff_print.c
+9
-9
No files found.
src/diff_print.c
View file @
85b7268e
...
@@ -82,15 +82,15 @@ char git_diff_status_char(git_delta_t status)
...
@@ -82,15 +82,15 @@ char git_diff_status_char(git_delta_t status)
char
code
;
char
code
;
switch
(
status
)
{
switch
(
status
)
{
case
GIT_DELTA_ADDED
:
code
=
'A'
;
break
;
case
GIT_DELTA_ADDED
:
code
=
'A'
;
break
;
case
GIT_DELTA_DELETED
:
code
=
'D'
;
break
;
case
GIT_DELTA_DELETED
:
code
=
'D'
;
break
;
case
GIT_DELTA_MODIFIED
:
code
=
'M'
;
break
;
case
GIT_DELTA_MODIFIED
:
code
=
'M'
;
break
;
case
GIT_DELTA_RENAMED
:
code
=
'R'
;
break
;
case
GIT_DELTA_RENAMED
:
code
=
'R'
;
break
;
case
GIT_DELTA_COPIED
:
code
=
'C'
;
break
;
case
GIT_DELTA_COPIED
:
code
=
'C'
;
break
;
case
GIT_DELTA_IGNORED
:
code
=
'I'
;
break
;
case
GIT_DELTA_IGNORED
:
code
=
'I'
;
break
;
case
GIT_DELTA_UNTRACKED
:
code
=
'?'
;
break
;
case
GIT_DELTA_UNTRACKED
:
code
=
'?'
;
break
;
case
GIT_DELTA_UNREADABLE
:
code
=
'X'
;
break
;
case
GIT_DELTA_UNREADABLE
:
code
=
'X'
;
break
;
default:
code
=
' '
;
break
;
default:
code
=
' '
;
break
;
}
}
return
code
;
return
code
;
...
...
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