git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* use gitignore implementation in shell bash
@ 2013-06-18 15:45 László Lajos Jánszky
  2013-06-18 16:59 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: László Lajos Jánszky @ 2013-06-18 15:45 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: use gitignore implementation in shell bash
  2013-06-18 15:45 use gitignore implementation in shell bash László Lajos Jánszky
@ 2013-06-18 16:59 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2013-06-18 16:59 UTC (permalink / raw)
  To: László Lajos Jánszky; +Cc: git

László Lajos Jánszky  <laszlo.janszky@gmail.com> writes:

> 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.

Two possibilities that come to mind are the "git ls-files" (read the
doc and find the option to have it read .gitignore file) command,
and the "git check-ignore" command.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-18 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 15:45 use gitignore implementation in shell bash László Lajos Jánszky
2013-06-18 16:59 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).