1 |
Hi Marius, |
2 |
|
3 |
thanks for the details! I noticed that lately repoman is adding the |
4 |
category/package name at the beginning of the commit message. Good to |
5 |
know about the --echangelog=n option. |
6 |
|
7 |
Thanks again! |
8 |
|
9 |
Nick |
10 |
|
11 |
On Wed, Oct 14, 2015 at 12:16 AM, Marius Brehler |
12 |
<marbre@××××××××××××××.de> wrote: |
13 |
> |
14 |
> |
15 |
> On 10/13/2015 10:50 PM, Nicolas Bock wrote: |
16 |
>> On Tue, Oct 13, 2015 at 2:42 PM, Marius Brehler |
17 |
>> <marbre@××××××××××××××.de> wrote: |
18 |
>>> On 10/13/2015 02:08 PM, Nicolas Bock wrote: |
19 |
>>>> [..] |
20 |
>>>> Hi Marius, |
21 |
>>>> |
22 |
>>>> out of curiosity: What does the -t option do? And how does one |
23 |
>>>> re-commit a change using repoman? |
24 |
>>>> |
25 |
>>>> Thanks, |
26 |
>>>> |
27 |
>>>> Nick |
28 |
>>> |
29 |
>>> |
30 |
>>> Hi, |
31 |
>>> the -t option prevents adding a ChangeLog entry: |
32 |
>>> |
33 |
>>> -t, --trivial trivial changes (do not add a ChangeLog entry) |
34 |
>>> |
35 |
>>> |
36 |
>>> With re-commiting, I mean one could reset without loosing the |
37 |
>>> modifications with 'git reset --soft HEAD^' (or by specifying a commit |
38 |
>>> hash/tag/e.g.), apply the new changes/caring for the annotations and |
39 |
>>> than just executing 'repo-commit <previous commit message>' again. |
40 |
>>> I hope that answers your question, if not please let me know. |
41 |
>>> Regards |
42 |
>>> |
43 |
>> Thanks, that explains it! I missed that you are using 'repo-commit' |
44 |
>> and not 'repoman' :) Is repo-commit recommended over repoman? |
45 |
> |
46 |
> I actually don't know if there is a recommendation. I use 'repo-commit' |
47 |
> for short commit messages and 'repoman commit', if line breaks in the |
48 |
> commit message are desired. By the way, 'repoman commit --echangelog=n', |
49 |
> actually does the same as 'repo-commit -t'. |
50 |
> |
51 |
> Regarding re-commiting, 'repo-commit' is a little easier to handle as it |
52 |
> allows to pass the commit message via the shell. 'repoman commit' allows |
53 |
> this when passing '-m "commit message"', but does not add the |
54 |
> category/packagename in front of the commit message. |
55 |
> Thus, copying the commit message and using 'repoman commit' requires |
56 |
> more effort than using 'repo-commit' |
57 |
> Regards |
58 |
> |
59 |
> Marius |