git/list[1] front-page[2] threads[3] people[4] search[5] about
 

use gitignore implementation in shell bash

From
LJLászló Lajos Jánszky <laszlo.janszky@gmail.com>
Date
Jun 18, 2013, 15:45 UTC
Message-ID
<CA+=RcCrAnNoFbu1VGnFLpubOkss1VyyfdumJiVcJ0G0z+tB6sQ@mail.gmail.com>
Hi!
I have a question about gitignore.

There is a git extension called git ftp, written by René: https://github.com/resmo in bash. This extension uses git to push only the changed files to the ftp server. Currently this extension uses grep to decide which file is ignored by upload. It uses a config file called .git-ftp-ignore which contains the regex patterns. I was wondering it will be better if we could use a gitignore style config file, and I found an issue for there: https://github.com/resmo/git-ftp/issues/191#issuecomment-14647798 Now we are discussing about how is that possible.. If anybody can help in that it would be awesome! I thought there is a slightly chance to use the original .gitignore implementation for that. Is that possible somehow?

If you want to contribute, or you have an answer please write into the linked issue: https://github.com/resmo/git-ftp/issues/191 The developer of the project cannot see this mail list, I am just an user of his product...

Many Thanks! Laszlo Janszky

Next: Junio C Hamano
Message 1 of 2 in “use gitignore implementation in shell bash”
  1. László Lajos JánszkyJun 18, 2013
  2. Junio C HamanoJun 18, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.