Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Nektar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
87
Issues
87
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
44
Merge Requests
44
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nektar
Nektar
Commits
2305b109
Commit
2305b109
authored
Feb 29, 2016
by
Dave Moxey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address Douglas' comments, minor tweak to .clang-format
parent
a4946c50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
.clang-format
.clang-format
+2
-0
CONTRIBUTING.md
CONTRIBUTING.md
+7
-2
No files found.
.clang-format
View file @
2305b109
BasedOnStyle: LLVM
BasedOnStyle: LLVM
AlignAfterOpenBracket: true
AlignAfterOpenBracket: true
IndentWidth: 4
IndentWidth: 4
AlwaysBreakAfterDefinitionReturnType: None
PenaltyReturnTypeOnItsOwnLine: 9999999
BreakBeforeBraces: Allman
BreakBeforeBraces: Allman
AllowShortBlocksOnASingleLine: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortFunctionsOnASingleLine: None
...
...
CONTRIBUTING.md
View file @
2305b109
...
@@ -59,8 +59,8 @@ file.
...
@@ -59,8 +59,8 @@ file.
[alias]
[alias]
branch-name = "!git rev-parse --abbrev-ref HEAD"
branch-name = "!git rev-parse --abbrev-ref HEAD"
diff-nows = diff --color -w
diff-nows = diff --color -w
log-branch = log --pretty=
"%Cgreen%h %Cred%an%Creset(%Cblue%ad%Creset)%n %s" master..$(git branch-name)
log-branch = log --pretty=
'%C(green)%h %C(red)%an %C(reset)(%C(blue)%ad%C(reset))%n%s' master..
diff-branch = diff -U5 --minimal --color -w master...
`git branch-name`
diff-branch = diff -U5 --minimal --color -w master...
```
```
This gives you four commands:
This gives you four commands:
...
@@ -75,6 +75,11 @@ This gives you four commands:
...
@@ -75,6 +75,11 @@ This gives you four commands:
diff master...branch`
), without whitespace changes. (This should be roughly
diff master...branch`
), without whitespace changes. (This should be roughly
equivalent to Gitlab's diff).
equivalent to Gitlab's diff).
If you prefer a graphical interface to see the files that have changed in your
commit, you can additionally use the
`git gui`
command to bring up a simple
interface.
`git difftool`
can also be used in combination with a GUI diff
viewer, to graphically view the output
`git diff`
.
## Testing and Buildbot
## Testing and Buildbot
Your new features or fixes should include tests that cover the code you've
Your new features or fixes should include tests that cover the code you've
added. There are numerous examples within the various
`Tests`
directory lying
added. There are numerous examples within the various
`Tests`
directory lying
...
...
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