pcal43/fastback

[collection of issues] Issues noticed during work on modifying

Closed this issue · 2 comments

  • [FIXED] Appears native-git relies on ~/.gitconfig to be pre-configured with a user.name and user.email value,
    • PotentialFix: If these settings are not defined, define them in the local repo scope git config user.email instead of git config --global user.email
  • FIXED Improperly uses HOME variable on windows
    • windows uses USERPROFILE instead,
    • image
  • [Inconsistent] [possibly non-issue] LFS commands fail on windows
    • This appears to be because git4windows does not expose git-lfs on the PATH, (related: #321)
    • directly running the command does however work, so dont know what is going on there exactly
    • PotentialFix: Automatically download from official github and force git-lfs into path if not found.
      • UPDATE: Inconsistent? Just tried it while working on issue 2 and it works now so IDFK I guess

NOTE: I am benching my work on allowing automatically fetching a native release of git to the server directory in favor of looking into and correcting these issues

Working on the gitconfig issue
why is jgit pain

Trying to fix the git config issue the best I can do is slap a warning that "hey! you dont have your things set!"
Because I for the life of me cannot seem to define the new GitConfigKeys as something is just saying no.
image

EDIT: figured it out, bloody java syntax