From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [PATCH] little fixes for attachment git commiting
Date: Tue, 9 Mar 2010 17:04:17 +0100 [thread overview]
Message-ID: <F6F3C551-13F9-4715-BA81-B34A9CA1055F@gmail.com> (raw)
In-Reply-To: <87tytdtpe4.fsf@dasa3.iem.pw.edu.pl>
On Feb 19, 2010, at 12:51 PM, Łukasz Stelmach wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Feb 19, 2010, at 11:59 AM, Łukasz Stelmach wrote:
>>
>>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>
>>>> On Feb 16, 2010, at 8:04 PM, Łukasz Stelmach wrote:
>>>>
>>>>> There are two very small commits which iron some wrinkles. Both on
>>>>> org-attach-git-commit branch of
>>>>> git://github.com/steelman/steelman-org-mode.git
>>>>>
>>>>> The first prevents git from running on an empty set of deleted
>>>>> files.
>>>>
>>>> Why is that a problem? I am hesitating to apply this patch,
>>>> because
>>>> on my Mac OS 10.5, xargs does know the --no-run-if-empty argument.
>>> ^^^^^^^^^[*]
>>>
>>> When xargs launches git rm without file arguments git emmits usage
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> usage: git rm [options] [--] <file>...
> [...]
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> message which in this situation is a bit confusing and *suggests*
>>> somehting might have gone wrong. And of course a shell output buffer
>>> pops up.
>>>
>>> [*] does || doesn't?
>>
>> Does not.
>>
>> Do you actually get to see this error message? Where?
>
> Everytime I attach a file and there is no deleted files which "git
> ls-files --deleted" would list. Try running
>
> git ls-files --deleted -z | xargs -0 git rm
>
> when there is no deleted uncommited files in a repository. git's
> return
> code is 123 so Emacs thinks it is an error.
Hi Lukasz,
I am not applying the patch, because xargs does not work te same on
all systems.
- Carsten
>
>
> --
> Miłego dnia,
> Łukasz Stelmach
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
prev parent reply other threads:[~2010-03-09 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-16 19:04 [PATCH] little fixes for attachment git commiting Łukasz Stelmach
2010-02-16 20:25 ` David Maus
2010-02-16 21:33 ` Łukasz Stelmach
2010-02-17 8:04 ` David Maus
2010-02-17 11:09 ` Łukasz Stelmach
2010-02-18 20:11 ` David Maus
2010-02-19 8:46 ` Carsten Dominik
2010-02-19 10:59 ` Łukasz Stelmach
2010-02-19 11:03 ` Carsten Dominik
2010-02-19 11:51 ` Łukasz Stelmach
2010-03-09 16:04 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F6F3C551-13F9-4715-BA81-B34A9CA1055F@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=lukasz.stelmach@iem.pw.edu.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.