Click here to Skip to main content
15,888,205 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 4:01
professionalfd975015-Jan-20 4:01 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Eddy Vluggen15-Jan-20 6:08
professionalEddy Vluggen15-Jan-20 6:08 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505415-Jan-20 7:52
mvek505415-Jan-20 7:52 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 20:42
professionalfd975015-Jan-20 20:42 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975022-Jan-20 3:30
professionalfd975022-Jan-20 3:30 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505424-Jan-20 6:37
mvek505424-Jan-20 6:37 
GeneralOT Pin
Richard MacCutchan24-Jan-20 9:09
mveRichard MacCutchan24-Jan-20 9:09 
GeneralRe: OT Pin
k505425-Jan-20 5:27
mvek505425-Jan-20 5:27 
GeneralRe: OT Pin
Richard MacCutchan25-Jan-20 5:55
mveRichard MacCutchan25-Jan-20 5:55 
GeneralRe: OT Pin
k505425-Jan-20 6:29
mvek505425-Jan-20 6:29 
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Vaclav_4-Mar-20 5:29
Vaclav_4-Mar-20 5:29 
QuestionHow add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Ngoc tuan nguyen18-Dec-19 17:29
Ngoc tuan nguyen18-Dec-19 17:29 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Richard MacCutchan18-Dec-19 21:33
mveRichard MacCutchan18-Dec-19 21:33 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
k505419-Dec-19 4:43
mvek505419-Dec-19 4:43 
SuggestionAn interactive cheatsheet tool for the command-line Pin
denisidoro14-Dec-19 4:08
denisidoro14-Dec-19 4:08 
Questionbluetooth hci function fails to execute hci_read_class_of_dev Pin
Vaclav_2-Dec-19 8:27
Vaclav_2-Dec-19 8:27 
AnswerRe: bluetooth hci function fails to execute hci_read_class_of_dev Pin
Richard MacCutchan3-Dec-19 23:25
mveRichard MacCutchan3-Dec-19 23:25 
QuestionGit pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w8-Nov-19 5:26
arnold_w8-Nov-19 5:26 
AnswerRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Afzaal Ahmad Zeeshan8-Nov-19 12:24
professionalAfzaal Ahmad Zeeshan8-Nov-19 12:24 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w8-Nov-19 21:56
arnold_w8-Nov-19 21:56 
Afzaal Ahmad Zeeshan wrote:
Since you might be new to this, here are a few resources that can help you get started:
Git Hooks | Learn how to use pre-commit hooks, post-commit hooks, post-receive hooks, and more. | Matthew Hudson
Git - Git Hooks
GitHub - pre-commit/pre-commit-hooks: Some out-of-the-box hooks for pre-commit
Thank you. The hooks are already enabled and working and they are calling standard .bat-files as it is now. My plan was to write as much as possible in standard .bat-files, but I think a check like this is difficult to pass on to a .bat-file.
Afzaal Ahmad Zeeshan wrote:
Quote:
is not part of the selected files to be committed
What exactly do you mean by this? Does the file need to be added, modified or anyway altered in the commit, or just to make sure that it is not deleted?
I use TortoiseGit and when I click commit I get a list of all files with modifications. Next to each file name in the list there's a checkbox that I can mark the specific file for inclusion in the commit about to happen. So, the user must always check the checkbox next to GitCommitDateAndTime.cs. Now, you could argue that I could always programmatically click the checkbox as a convenience for the user, but I have seen that some of my colleagues use git from some kind of command line tool so this solution wouldn't work for them.

modified 9-Nov-19 5:28am.

GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 3:23
arnold_w9-Nov-19 3:23 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Richard MacCutchan9-Nov-19 3:38
mveRichard MacCutchan9-Nov-19 3:38 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 4:13
arnold_w9-Nov-19 4:13 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Richard MacCutchan9-Nov-19 4:33
mveRichard MacCutchan9-Nov-19 4:33 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 5:06
arnold_w9-Nov-19 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.