-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing GIT LFS Documentation #4327
Missing GIT LFS Documentation #4327
Comments
Wow, you're right. In all the years that Git for Windows ships with Git LFS, you're the first one to point that out. To fix that, I suggest to
|
From a quick look it doesn't seem like for f in $srcdir/$folder/man/html/git-lfs*.1.html; do
install -m755 $f $pkgdir/$MINGW_PREFIX/share/doc/git-core/${${f##*/}%.1.html}.html
done |
I'm slightly concerned that there are links between those pages (which would rely on the |
From what I've seen there currently aren't any, but we probably shouldn't rely on that staying that way. |
@jasonnicholson how about giving it a try? |
Sure. I will give it a try. |
I getting lost here. I looked at the PKGBUILD file. How do I debug the PKGBUILD file? I tried @rimrul's code. However, it produces an error, "bad substitution" as shown below.
I tried to hack something together but it didn't work. I get an error as shown below. package() {
install -d -m755 $pkgdir/$MINGW_PREFIX/bin
install -m755 $srcdir/$folder/git-lfs$exesuffix.exe $pkgdir/$MINGW_PREFIX/bin/git-lfs.exe
install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-lfs
install -m755 $srcdir/$folder/README.md $pkgdir/$MINGW_PREFIX/share/doc/git-lfs/README.md
for f in $srcdir/$folder/man/html/git-lfs*.1.html; do
ff=${f##*/}
install -m755 $f $pkgdir/$MINGW_PREFIX/share/doc/git-core/${ff%.1.html}.html
done
}
|
@jasonnicholson could you commit what you have, push it, and open a draft PR? That will make it easier to see what needs to be changed. |
I will commit my changes when I get home this evening. |
Setup
defaults?
to the issue you're seeing?
No
Details
Bash
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
I expected an HTML page to open up related to git lfs.
I received the following error:
fatal: 'C:/Program Files/Git/mingw64/share/doc/git-doc/git-lfs.html': documentation file not found.
URL to that repository to help us with testing?
repository not needed
The git-lfs documentation is included with git lfs.
![image](https://user-images.githubusercontent.com/1058191/223296767-2810aa70-e750-4a3a-ab43-956751060b40.png)
https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-windows-amd64-v3.3.0.zip
The text was updated successfully, but these errors were encountered: