(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Number '$1'))} {(-o)} {(-z)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('usage: git-import branch import-message'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 37] ) ] spids: [16777215 51] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:USERNAME) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children:[(C {(git)} {(config)} {(user.name)})]) left_token: <Left_CommandSub '$('> spids: [56 62] ) ) } spids: [54] ) ] spids: [54] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:EMAIL) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children:[(C {(git)} {(config)} {(user.email)})]) left_token: <Left_CommandSub '$('> spids: [67 73] ) ) } spids: [65] ) ] spids: [65] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$USERNAME'))} {(-o)} {(-z)} {(DQ ($ VSub_Name '$EMAIL'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('You need to set user name and email'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 98] ) ] spids: [16777215 112] ) (C {(git)} {(init)}) (Pipeline children: [ (Subshell child: (CommandList children: [ (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLess fd: 16777215 body: { (DQ ('commit refs/heads/') ($ VSub_Number '$1') ('\n') ('committer ') ($ VSub_Name '$USERNAME') (' <') ($ VSub_Name '$EMAIL') ('> now\n') ('data <<MSGEOF\n') ($ VSub_Number '$2') ('\n') ('MSGEOF\n') ('\n') ) } do_expansion: True here_end: EOF was_filled: T spids: [125] ) ] ) (Pipeline children: [ (C {(find)} {(Lit_Other '*')} {(-type)} {(f)}) (While cond: [(Sentence child:(C {(read)} {(i)}) terminator:<Op_Semi ';'>)] body: (DoGroup children: [ (C {(echo)} {(DQ ('M 100644 inline ') ($ VSub_Name '$i'))}) (C {(echo)} {(data)} { (CommandSubPart command_list: (CommandList children: [ (C {(stat)} {(-c)} {(SQ <'%s'>)} {(DQ ($ VSub_Name '$i'))}) ] ) left_token: <Left_CommandSub '$('> spids: [172 184] ) } ) (C {(cat)} {(DQ ($ VSub_Name '$i'))}) (C {(echo)}) ] spids: [157 197] ) ) ] negated: F ) (C {(echo)}) ] ) spids: [120 202] ) (C {(git)} {(fast-import)} {(--date-format) (Lit_Other '=') (now)}) ] negated: F ) ] )