On Thu, May 30, 2013 at 7:58 PM, Thomas Rast wrote:
> Felipe Contreras writes:
>
>> On Thu, May 30, 2013 at 7:17 AM, Thomas Rast wrote:
> diff --git i/t/t7501-commit.sh w/t/t7501-commit.sh
> index 195e747..1608254 100755
> --- i/t/t7501-commit.sh
> +++ w/t/t7501-commit.sh
> @@ -524,4 +524,16 @@
On Thu, May 30, 2013 at 7:17 PM, Thomas Rast wrote:
> Felipe Contreras writes:
>
>> We are supposedly adding files, to to which cache if 'the_index' is
>> discarded?
> [...]
>> if (!current_head) {
>> discard_cache();
>> + if (read_cache() < 0)
>> +
On Thu, May 30, 2013 at 7:58 AM, Thomas Rast wrote:
> Felipe Contreras writes:
>
>> On Thu, May 30, 2013 at 7:17 AM, Thomas Rast wrote:
>>> Felipe Contreras writes:
>>>
We are supposedly adding files, to to which cache if 'the_index' is
discarded?
>>> [...]
if (!current_hea
Felipe Contreras writes:
> On Thu, May 30, 2013 at 7:17 AM, Thomas Rast wrote:
>> Felipe Contreras writes:
>>
>>> We are supposedly adding files, to to which cache if 'the_index' is
>>> discarded?
>> [...]
>>> if (!current_head) {
>>> discard_cache();
>>> + if (r
On Thu, May 30, 2013 at 7:17 AM, Thomas Rast wrote:
> Felipe Contreras writes:
>
>> We are supposedly adding files, to to which cache if 'the_index' is
>> discarded?
> [...]
>> if (!current_head) {
>> discard_cache();
>> + if (read_cache() < 0)
>> +
Felipe Contreras writes:
> We are supposedly adding files, to to which cache if 'the_index' is
> discarded?
[...]
> if (!current_head) {
> discard_cache();
> + if (read_cache() < 0)
> + die(_("cannot read the index"));
> return;
>
We are supposedly adding files, to to which cache if 'the_index' is
discarded?
Signed-off-by: Felipe Contreras
---
builtin/commit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/builtin/commit.c b/builtin/commit.c
index d2f30d9..092b49e 100644
--- a/builtin/commit.c
+++ b/builtin/commit.
7 matches
Mail list logo