Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 generate/templates/templates/nodegit.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is a generated file, modify: generate/templates/nodegit.cc.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:trollface:?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's there in case somebody is looking at the generated file src/nodegit.cc and is like "why can't I commit my changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a Combyne comment above it?

{%-- JavaScript comment below alerts contributors to not edit the generated source --%}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably. That would at least clarify a bit. Might be nicer though if we just do that when we get the compiled output back, like
// This is a generated file, modify: {root template}. in the generateNativeCode.js

Looks like it's around lines 117/120 (probably a few others too)

#include <node.h>
#include <v8.h>

#include <node.h>
#include <git2.h>
#include <map>
#include <algorithm>
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.