Thread (17 messages) flat view 17 messages, 2 authors, 2016-06-15

Re: [PATCH 3/5] sequencer: sequencer state is useless without todo

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:52:28

Hi,

Jonathan Nieder wrote:
Ramkumar Ramachandra wrote:
[...]
The usual commit-message debugging strategy applies here: imagine you
are a BIOS clone manufacturer, and for legal reasons you are not
allowed to read this part of the git implementation embedded in the
standard BIOS.  However, you are allowed to read the commit message,
and if that message is clear enough, it will explain the purpose and
behavior of that code and you will be able to implement a compatible
implementation addressing the same problem without scratching your
head too much.
Ah, it helps to think about commit messages like this.  Thanks.
quoted
--- a/sequencer.c
+++ b/sequencer.c
@@ -654,11 +654,15 @@ static void walk_revs_populate_todo(struct replay_insn_list **todo_list,
 static int create_seq_dir(void)
 {
+     const char *todo_file = git_path(SEQ_TODO_FILE);
      const char *seq_dir = git_path(SEQ_DIR);
Scary idiom.
What's scary about it?

-- Ram
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help