parameters: (message)
return_statement: return footers
docstring: Returns: (dict) A dictionary of commit message footer entries.
docstring_summary: Returns: (dict) A dictionary of commit message footer entries.
docstring_tokens: Returns : ( dict ) A dictionary of commit message footer entries .
function: def GetCommitMessageFooterMap(message):
    """Returns: (dict) A dictionary of commit message footer entries.
    """
    footers = {}
  
    # Extract the lines in the footer block.
    lines = []
    for line in message.strip().splitlines():
      line = line.strip()
      if len(line) == 0:
        del(lines[:])
        continue
      lines.append(line)
  
    # Parse the footer
    for line in lines:
      m = COMMIT_FOOTER_ENTRY_RE.match(line)
      if not m:
        # If any single line isn't valid, continue anyway for compatibility with
        # Gerrit (which itself uses JGit for this).
        continue
      footers[m.group(1)] = m.group(2).strip()
    return footers
function_tokens: def GetCommitMessageFooterMap ( message ) : footers = { } # Extract the lines in the footer block. lines = [ ] for line in message . strip ( ) . splitlines ( ) : line = line . strip ( ) if len ( line ) == 0 : del ( lines [ : ] ) continue lines . append ( line ) # Parse the footer for line in lines : m = COMMIT_FOOTER_ENTRY_RE . match ( line ) if not m : # If any single line isn't valid, continue anyway for compatibility with # Gerrit (which itself uses JGit for this). continue footers [ m . group ( 1 ) ] = m . group ( 2 ) . strip ( ) return footers