Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
e99e3b6c
Commit
e99e3b6c
authored
Feb 29, 2016
by
Dave Moxey
Committed by
Spencer Sherwin
Mar 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address Douglas' comments, minor tweak to .clang-format
parent
8684ce8e
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 @
e99e3b6c
BasedOnStyle: LLVM
AlignAfterOpenBracket: true
IndentWidth: 4
AlwaysBreakAfterDefinitionReturnType: None
PenaltyReturnTypeOnItsOwnLine: 9999999
BreakBeforeBraces: Allman
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
...
...
CONTRIBUTING.md
View file @
e99e3b6c
...
...
@@ -59,8 +59,8 @@ file.
[alias]
branch-name = "!git rev-parse --abbrev-ref HEAD"
diff-nows = diff --color -w
log-branch = log --pretty=
"
%Cgreen%h %Cred%an%Creset(%Cblue%ad%Creset)%n
%s
"
master..
$(git branch-name)
diff-branch = diff -U5 --minimal --color -w 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...
```
This gives you four commands:
...
...
@@ -75,6 +75,11 @@ This gives you four commands:
diff master...branch`
), without whitespace changes. (This should be roughly
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
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
...
...
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