<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 4:10 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2012-05-22 22:26, Thilina Buddika Abeyrathna a écrit :<br>
<div><div class="h5">> On Wed, May 23, 2012 at 7:17 AM, Rouslan Placella <<a href="mailto:rouslan@placella.com">rouslan@placella.com</a>>wrote:<br>
><br>
>> On 23/05/12 02:44, Thilina Buddika Abeyrathna wrote:<br>
>>> On Tue, May 22, 2012 at 12:38 AM, Marc Delisle<<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
>> wrote:<br>
>>><br>
>>>> Le 2012-05-21 14:46, Thilina Buddika Abeyrathna a écrit :<br>
>>>>> On Mon, May 21, 2012 at 10:32 PM, Marc Delisle<<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>>> Le 2012-05-21 12:47, Thilina Buddika Abeyrathna a écrit :<br>
>>>>>>> On Mon, May 21, 2012 at 9:54 PM, Marc Delisle<<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
>>>>>> wrote:<br>
>>>>>>><br>
>>>>>>>> Le 2012-05-21 11:50, Thilina Buddika Abeyrathna a écrit :<br>
>>>>>>>>> On Mon, May 21, 2012 at 9:17 PM, Marc Delisle<<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
>>>>>>>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>>> Le 2012-05-21 11:41, Thilina Buddika Abeyrathna a écrit :<br>
>>>>>>>>>>> Hi Marc,<br>
>>>>>>>>>>> In tbl_replace.php I don't see any usage of $me_fields variable.<br>
>> So<br>
>>>>>> I'm<br>
>>>>>>>>>>> going to remove the declaration and I'll change the all variable<br>
>>>>>> names<br>
>>>>>>>>>>> $me_* to $multi_edit_*.<br>
>>>>>>>>>>> Is it OK?<br>
>>>>>>>>>><br>
>>>>>>>>>> Hi Thilina,<br>
>>>>>>>>>> If you have access to command-line git, try this:<br>
>>>>>>>>>><br>
>>>>>>>>>> git grep '$me_fields'<br>
>>>>>>>>>><br>
>>>>>>>>>> and you'll see that libraries/tbl_replace_fields.inc.php is using<br>
>>>>>> these<br>
>>>>>>>>>> variables (other scripts are also using them).<br>
>>>>>>>>>><br>
>>>>>>>>>> I just realize that Marc. Sorry for the mistake.<br>
>>>>>>>>> And is it ok to changing variable name like above.<br>
>>>>>>>><br>
>>>>>>>> Yes, this is good refactoring. Of course, you know I'm allergic to<br>
>>>> using<br>
>>>>>>>> the term "field" when it refers to a table's column.<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> Ok Marc. :)<br>
>>>>>><br>
>>>>>> By the way, I prefer that you finish your work on tbl_change before<br>
>>>>>> working on tbl_replace.<br>
>>>>>><br>
>>>>>> I wish to merge your work soon, but there are still things to improve<br>
>> or<br>
>>>>>> fix:<br>
>>>>>><br>
>>>>>> - the multi-row edit bug<br>
>>>>>> - the $vrow and $vresult variables<br>
>>>>><br>
>>>>><br>
>>>>> Hi Marc,<br>
>>>>> I'm trying to fix the multi-row edit bug. But still I couldn't find the<br>
>>>>> place which is wrong that I have done when refactoring.<br>
>>>><br>
>>>> You can find which commit produced the bug, with git bisect. The current<br>
>>>> upstream master does not have this bug.<br>
>>><br>
>>><br>
>>> Hi Marc,<br>
>>> I fixed the issue. But when I commit, I used the following scenario,<br>
>>> 1. git status -> two modified files<br>
>>> 2. git add [2 files]<br>
>>> 3. git commit -m " " ->(2 file changed, ......)<br>
>>> 4. git push origin master -> it says everything up-to-date :(<br>
>>> Am I missed something ?<br>
>><br>
>> Maybe you're missing 'git checkout master' before committing?<br>
>> If 'git branch' says that you're on another branch, you can push like<br>
>> this 'git push origin anotherbranch:master'<br>
>><br>
>> Bye,<br>
>> Rouslan<br>
><br>
><br>
> Hi Rouslan,<br>
><br>
> $ git branch<br>
> * (no branch)<br>
> master<br>
<br>
</div></div>This means that you are currently not on any branch.</blockquote><div><br></div><div>So how to push my changes. (Now I'm in the master, I ran 'git checkout master' )</div><div> </div></div>-- <br>
<font face="georgia, serif">Regards.</font><br><br><font face="'trebuchet ms', sans-serif" size="4">Thilina Buddika Abeyrathna,</font><br><font face="georgia, serif">Department of Computer Engineering,</font><br>
<font face="georgia, serif">Faculty Of Engineering,</font><br>
<font face="georgia, serif">University of Peradeniya,</font><div><font face="georgia, serif">Sri Lanka.<br><br></font></div><br>