parameters: (upstream, feature, paths=[])
return_statement: return odd
docstring: Given two git branches and an optional parameter 'path', determine
      which files differ between the two branches. Afterwards, organize the
      files with a printer-friendly data structure.
  
      Returns: Dictionary of directories with their corresponding files
docstring_summary: Given two git branches and an optional parameter 'path', determine
      which files differ between the two branches. Afterwards, organize the
      files with a printer-friendly data structure.
docstring_tokens: Given two git branches and an optional parameter path determine which files differ between the two branches . Afterwards organize the files with a printer - friendly data structure .
function: def diff_files(upstream, feature, paths=[]):
      """Given two git branches and an optional parameter 'path', determine
      which files differ between the two branches. Afterwards, organize the
      files with a printer-friendly data structure.
  
      Returns: Dictionary of directories with their corresponding files
      """
  
      raw =  subprocess.check_output(
          [ "git", "diff", "--name-status", "%s..%s" % (upstream, feature),
          "--" ] + paths
      )
  
      path = [line.split('\t')[1] for line in raw.splitlines()]
  
      odd = OrderedDefaultDict(list)
      for p in path:
          direc = subprocess.check_output(["dirname", p]).strip() + "/"
          filename = subprocess.check_output(["basename", p]).strip()
          odd[direc].append("%s" % filename)
  
      return odd
function_tokens: def diff_files ( upstream , feature , paths = [ ] ) : raw = subprocess . check_output ( [ "git" , "diff" , "--name-status" , "%s..%s" % ( upstream , feature ) , "--" ] + paths ) path = [ line . split ( '\t' ) [ 1 ] for line in raw . splitlines ( ) ] odd = OrderedDefaultDict ( list ) for p in path : direc = subprocess . check_output ( [ "dirname" , p ] ) . strip ( ) + "/" filename = subprocess . check_output ( [ "basename" , p ] ) . strip ( ) odd [ direc ] . append ( "%s" % filename ) return odd