Skip to content
Snippets Groups Projects

Don't execute git hooks if you create branch as part of other change

Merged Kamil Trzciński requested to merge fix-git-hooks-when-creating-file into master
All threads resolved!
Compare and Show latest version
171 files
+ 2006
752
Compare changes
  • Side-by-side
  • Inline
Files
171
@@ -70,6 +70,8 @@
@@ -70,6 +70,8 @@
// e.g.
// e.g.
// Api.gitignoreText item.name, @requestFileSuccess.bind(@)
// Api.gitignoreText item.name, @requestFileSuccess.bind(@)
requestFileSuccess(file, { skipFocus } = {}) {
requestFileSuccess(file, { skipFocus } = {}) {
 
if (!file) return;
 
const oldValue = this.editor.getValue();
const oldValue = this.editor.getValue();
let newValue = file.content;
let newValue = file.content;
Loading