Visitar URL original
Don't require building in a git repository · Issue #629 · prettydiff/prettydiff · GitHub
Skip to content

Don't require building in a git repository #629

Open

Description

@nmattia

My build fails like this:

TypeScript Compilation

[00:00:04.394434900] TypeScript build completed without warnings.
[00:00:04.372880475] Total section time.
________________________________________________________________________

Building Options


Stack trace
-----------
    at node_apps_errout_error (/build/source/js/services.js:2097:27)
    at Object.node_apps_errout [as errout] (/build/source/js/services.js:2185:13)
    at node_apps_build_libraries_child (/build/source/js/services.js:1301:30)
    at ChildProcess.exithandler (child_process.js:301:5)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Error Message
------------
Error: Command failed: git log -1 --branches
fatal: not a git repository (or any of the parent directories): .git

Unfortunately I cannot keep the .git around. Would it be possible to have a build that doesn't require .git?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions